AgentbeamBeta
AI agent vulnerability · OpenClaw

CVE-2026-42424: OpenClaw: Shared reply MEDIA - paths are treated as trusted and can trigger cross-channel local file exfiltration

mediumCVSS 4.0 5.1 · 3.1 5.0GHSA-qqq7-4hxc-x63c

OpenClaw 2026.4.4 and earlier treats file paths in shared reply MEDIA references as trusted generated media. A crafted MEDIA reference can make another channel read a local file and send it out. Upgrade to openclaw 2026.4.8.

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

What an attacker can do

OpenClaw replies can carry MEDIA: references that point to generated media. In affected versions, a path in a shared reply is treated as trusted, as if the assistant itself had produced the file. A crafted reference can therefore cause a different channel to read a local file path and deliver its contents. The advisory classes this as external control of a file path (CWE-73) and exposure of a resource to the wrong sphere (CWE-668).

The attacker must be able to get a crafted MEDIA reference into a reply that is shared across channels, for example by writing text the assistant repeats. The CVSS 3.1 vector (AV:L/PR:L/UI:R) rates the flaw as requiring low privileges and user interaction. Only confidentiality is affected: the result is that files readable by the OpenClaw process, such as configuration, tokens or notes, can be sent to a channel the attacker can see.

The advisory scopes OpenClaw as a user-controlled local assistant, not a multi-tenant service. The sources do not name the specific channels involved or the exact path checks that changed.

Who is affected

Affected: the npm package openclaw up to and including 2026.4.4. The package data lists the vulnerable range as below 2026.4.8. Risk is highest where one assistant is connected to several channels and shares replies between them.

Check the installed version:

npm ls -g openclaw

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 say the fix was verified on main with regression tests for the affected boundary. The advisory and the VulnCheck page list no workaround. Until you upgrade, avoid sharing replies across channels with people you do not trust.

How to tell if you were hit

The advisory gives no log signatures. Look in channel transcripts and OpenClaw logs for replies containing MEDIA: references that point at local paths rather than generated output, especially paths like config files, home-directory dotfiles or key files. Check outgoing attachments on connected channels for files you did not expect to see. Beam records agent file access, which shows which local files the assistant read.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Impact

Shared reply MEDIA: paths are treated as trusted and can trigger cross-channel local file exfiltration.

A crafted shared reply MEDIA reference could cause another channel to read a local file path as trusted generated media.

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.4
  • 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 @threalwinky for reporting.

Credited to threalwinky.

Questions

What does CVE-2026-42424 expose?

Local files readable by the OpenClaw process. A crafted shared MEDIA reference makes another channel read a local path and treat it as trusted generated media.

Which version fixes it?

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

Is there a workaround?

None is listed in the advisory or the VulnCheck page. Upgrading is the documented remedy.

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