NewApp Monitoring is liveSign up free
AgentbeamBeta
AI agent vulnerability · OpenClaw

CVE-2026-42438: OpenClaw: Sender policy bypass in host media attachment reads allows unauthorized local file disclosure

mediumCVSS 4.0 6.0GHSA-jhpv-5j76-m56h

OpenClaw 2026.4.9 let a channel sender whose `read` tool was denied by `toolsBySender` or group policy still trigger the host-media attachment reader. Files readable by the OpenClaw process could come back through the outbound media path. The advisory range is `>= 2026.4.9, < 2026.4.10`. Upgrade to 2026.4.10 or later.

Published Apr 17, 2026 · Updated May 5, 2026 · Analysis Oct 29, 2026

What an attacker can do

OpenClaw can send local files as outbound media attachments. The helper that reads those files was enabled from global or agent-level read access. It did not use the sender-scoped or group-scoped tool policy, because it was installed without the sender context. So a participant that policy said may not read could still cause a host file to be loaded and returned (CWE-863, incorrect authorization).

The advisory calls this a concrete policy enforcement mismatch and says it does not treat the model prompt as the security boundary. Only deployments with both conditions are affected: host read or filesystem root expansion is allowed at the global or agent level, and toolsBySender or group policy denies read for some participants.

The attacker is a lower-trust participant in a channel the agent serves. They get the contents of host-local files that the OpenClaw process can read, which may include configuration files and keys. The CVSS 4.0 vector shows low privileges and high confidentiality impact only.

Who is affected

OpenClaw 2026.4.9. The advisory says earlier versions were not confirmed during triage, so it limits the range to >= 2026.4.9, < 2026.4.10. Check the installed version:

npm ls -g openclaw

Then check your config for toolsBySender or group tool policy that denies read, together with global or agent-level read access. Without that pairing, the bypass does not apply.

openclaw

Ecosystem
npm
Affected
>= 2026.4.9, < 2026.4.10
Fixed in
2026.4.10
Check
npm ls openclaw

How to fix it

Upgrade to 2026.4.10 or later.

npm install -g openclaw@latest

The fix (PR #64459, commit c949af9) passes sender, session, channel and account context into outbound media access resolution. It intersects host-media read capability with the group tool policy for read. When a sender or group override denies read, OpenClaw no longer creates the host readFile media capability. The advisory notes that further attachment canonicalization hardening shipped in 2026.4.14. It lists no workaround.

How to tell if you were hit

Review channel logs on 2026.4.9 for outbound media attachments sent in reply to senders that your policy denies read. Check which files those attachments came from, and whether they sit outside the paths you intend to share. The advisory gives no log signature. If you find any, treat files readable by the OpenClaw process as exposed and rotate secrets stored there.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Summary

OpenClaw's outbound host-media attachment read helper could enable host-local file reads based on global or agent-level read access without also honoring sender and group-scoped tool policy. In channel deployments that used toolsBySender or group policy to deny read for less-trusted senders, a denied sender could still trigger host-media attachment loading and cause readable local files to be returned through the outbound media path.

Affected Versions

This issue is known to affect OpenClaw 2026.4.9. Earlier versions were not confirmed during triage, so the advisory range is intentionally scoped to >= 2026.4.9 < 2026.4.10.

Impact

Affected deployments are those that both allow host read or filesystem root expansion at the global/agent level and rely on sender or group-scoped policy to deny read for some channel participants. In that configuration, the intended sender/group authorization boundary could be bypassed for outbound media reads, potentially disclosing host-local files readable by the OpenClaw process.

The issue does not require treating the model prompt as the security boundary. The vulnerable behavior was a concrete policy enforcement mismatch: sender/group policy denied read, while the host-media read helper could still be installed without that sender context.

Resolution

Fixed in OpenClaw 2026.4.10 by PR #64459, commit c949af9fabf3873b5b7c484090cb5f5ab6049a98. The fix threads sender, session, channel, and account context into outbound media access resolution and intersects host-media read capability creation with the existing group tool policy for read. When a concrete sender/group override denies read, OpenClaw no longer creates the host readFile media capability.

Additional attachment canonicalization hardening shipped in 2026.4.14, but the authorization bypass described here was fixed in 2026.4.10.

Credit

Thanks to @Telecaster2147 for reporting this issue.

Credited to Telecaster2147.

Questions

Is OpenClaw 2026.4.8 affected by CVE-2026-42438?

The advisory range starts at 2026.4.9. It says earlier versions were not confirmed during triage, so it does not claim they are affected.

Who has to be configured how for this to matter?

Deployments that allow host read or filesystem root expansion globally or per agent, and use toolsBySender or group policy to deny read for some participants.

What does an attacker get?

Host-local files that the OpenClaw process can read, returned through the outbound media path.

Is it exploited in the wild?

No source I read says so, and the entry has no CISA KEV data.

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