AgentbeamBeta
AI agent vulnerability · OpenClaw

CVE-2026-42428: OpenClaw B-M3: ClawHub package downloads are not enforced with integrity verification

mediumCVSS 4.0 6.9 · 3.1 7.1GHSA-3vvq-q2qc-7rmp

OpenClaw 2026.4.1 and earlier installs plugin archives from ClawHub without enforcing archive or per-file integrity metadata. A tampered or substituted archive installs without detection, which means attacker code in an OpenClaw plugin. Upgrade to openclaw 2026.4.8.

Published Apr 9, 2026 · Updated May 6, 2026 · Analysis Nov 6, 2026

What an attacker can do

ClawHub is OpenClaw's plugin registry. When OpenClaw downloaded a plugin from it, the client did not enforce the archive-level or per-file integrity metadata that comes with the package (CWE-353). A plugin archive that was altered in transit, replaced at the source, or swapped by a malicious publisher would install as if it were genuine.

Plugins run inside the assistant, with the access the assistant has: its tools, files, credentials and the shell. A tampered plugin is therefore a path to code execution as the OpenClaw user. The attacker needs a way to alter or serve the archive, which the CVSS 3.1 vector rates as high complexity (AV:N/AC:H) with low privileges and user interaction, such as the user installing or updating the plugin.

The advisory scopes OpenClaw as a user-controlled local assistant, not a multi-tenant service. The sources give no details of how the registry metadata is formed, only that the client did not enforce it. The risk is greatest for teams that install community plugins, or that update plugins automatically, on machines that hold secrets.

Who is affected

Affected: the npm package openclaw up to and including 2026.4.1 (the package data lists the range as below 2026.4.8). Anyone who installs plugins from ClawHub is in scope.

Check the installed version and the plugins you have:

npm ls -g openclaw

List the plugins you installed through ClawHub and note when you installed each one. Those installed before upgrading were not integrity-checked.

openclaw

Ecosystem
npm
Affected
< 2026.4.8
Fixed in
2026.4.8
Check
npm ls openclaw

How to fix it

Upgrade to openclaw 2026.4.8:

npm install -g [email protected]

The maintainers verified the fix with regression tests. The advisory lists no workaround. The upgrade does not re-verify plugins that were already installed, so after upgrading, reinstall the plugins you cannot vouch for, so they are fetched with integrity checks enforced.

How to tell if you were hit

The advisory gives no indicators. Compare installed plugin files against a fresh download of the same version from ClawHub, after upgrading. Look at plugin directories for files with modification times that do not match the install time, and for plugin code that makes network calls or spawns shells it should not. Beam records agent shell commands, file access and MCP tool calls, so a plugin that starts misbehaving shows up there.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Impact

B-M3: ClawHub package downloads are not enforced with integrity verification.

ClawHub downloads could install plugin archives without enforcing archive or per-file integrity metadata.

OpenClaw is a user-controlled local assistant. This advisory is scoped to the OpenClaw trust model and does not assume a multi-tenant service boundary.

Affected Packages / Versions

  • Package: openclaw (npm)
  • Affected versions: <= 2026.4.1
  • Patched versions: 2026.4.8

Fix

The issue was fixed on main and is available in the patched npm version listed above. The verified fixed tree is commit d7c3210cd6f5fdfdc1beff4c9541673e814354d5.

Verification

The fix was re-checked against main before publication, including targeted regression tests for the affected security boundary.

Credits

Thanks @kexinoh of Tencent zhuque Lab (https://github.com/Tencent/AI-Infra-Guard) for reporting.

Credited to kexinoh.

Questions

What is the weakness in CVE-2026-42428?

OpenClaw did not enforce integrity metadata on plugin archives it downloaded from ClawHub, so a tampered plugin could install undetected.

Which version fixes it?

openclaw 2026.4.8. Versions up to and including 2026.4.1 are affected.

Should I reinstall my plugins?

The sources do not say so, but plugins installed before the upgrade were never integrity-checked. Reinstalling those you cannot vouch for is a sensible precaution.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology

More OpenClaw vulnerabilities

All OpenClaw entries