Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-100538 Overview
CVE-2026-100538 is an authorization flaw [CWE-863] in the OpenClaw npm package (openclaw) before version 2026.8.1. The package fails to enforce the originating sender's global or per-agent toolsBySender policy when handling outbound attachments. A sender explicitly denied filesystem read tools can still cause a known local file to be read and returned through a final-response media directive or a message attachment. The flaw discloses local file contents to an admitted requester whose agent turn did not include the read tool. Exploitation requires knowledge of a useful host path and a delivery flow that accepts local attachments.
Critical Impact
Authenticated low-privilege senders can bypass per-agent tool restrictions to read arbitrary local files on the OpenClaw host, disclosing sensitive data without triggering the expected authorization checks.
Affected Products
- OpenClaw npm package openclaw versions before 2026.8.1
- Deployments relying on toolsBySender policy to restrict filesystem read access
- Agent workflows that permit outbound attachments or media directives
Discovery Timeline
- 2026-09-26 - CVE-2026-100538 published to NVD
- 2026-09-28 - Last updated in NVD database
Technical Details for CVE-2026-100538
Vulnerability Analysis
OpenClaw implements a toolsBySender policy that governs which tools a given sender or agent may invoke, including filesystem read tools. The attachment handling path for outbound responses does not consult this policy before resolving and reading local file references. When an agent produces a final-response media directive or attaches a message payload, the server reads the referenced path and returns the contents to the requester. The authorization boundary that was meant to isolate filesystem access from untrusted senders is therefore not applied at the attachment stage.
The weakness is categorized as Incorrect Authorization [CWE-863]. Exploitation does not require any elevated privileges or user interaction, only authenticated access as an admitted sender and knowledge of a target host path.
Root Cause
The root cause is missing enforcement of the sender's tool policy inside the outbound attachment and media-directive pipeline. Authorization checks live on the direct tool-invocation path but are not consulted when files are resolved indirectly through response attachments. This creates a confused-deputy condition where the server reads files with its own privileges on behalf of a sender who has no read capability.
Attack Vector
An attacker authenticates as an admitted sender whose toolsBySender configuration explicitly denies filesystem read tools. The attacker crafts or steers a message flow so that an agent produces a response containing a media directive or attachment pointing to a known local path, for example a configuration or credential file. The OpenClaw server reads the file during outbound processing and returns the contents to the requester. The attacker exfiltrates the data without ever invoking a denied tool directly.
For technical specifics, see the GitHub Security Advisory GHSA-w5x7-c87m-3jpc and the VulnCheck Advisory for OpenClaw.
Detection Methods for CVE-2026-100538
Indicators of Compromise
- Outbound responses containing attachments or media directives that reference absolute local filesystem paths such as /etc/, /root/, or application configuration directories.
- Message turns where the originating sender's toolsBySender policy denies filesystem read tools yet the response payload contains file contents.
- Unusual size growth in response payloads from agents that are not expected to return file data.
Detection Strategies
- Audit OpenClaw application logs for attachment resolution events correlated with sender identities that lack read-tool authorization.
- Compare per-request authorized tool sets against the content types present in the outbound response to flag policy divergence.
- Instrument the attachment handler to emit a security event whenever a local path is resolved outside the invoking agent's tool scope.
Monitoring Recommendations
- Forward OpenClaw access and agent-turn logs to a centralized analytics platform and alert on attachments that reference sensitive host paths.
- Baseline normal attachment volume and path patterns per sender, then alert on deviations.
- Review historical traffic for prior exploitation after upgrading, focusing on responses to senders with restrictive tool policies.
How to Mitigate CVE-2026-100538
Immediate Actions Required
- Upgrade the openclaw npm package to version 2026.8.1 or later across all deployments.
- Inventory agents and senders that rely on toolsBySender to deny filesystem read access and confirm the upgrade covers each host.
- Rotate any credentials or secrets stored in files that may have been reachable through the OpenClaw service account.
Patch Information
The issue is fixed in OpenClaw version 2026.8.1. The fix enforces the originating sender's toolsBySender policy in the outbound attachment and media-directive pipeline so that denied senders cannot cause the server to read local files. Refer to the GitHub Security Advisory GHSA-w5x7-c87m-3jpc for release details.
Workarounds
- Disable outbound attachments and media directives in agent configurations until the upgrade is applied.
- Run the OpenClaw process under a least-privilege service account that cannot read sensitive files on the host.
- Apply filesystem-level access controls or containerization to restrict the paths the OpenClaw process can read.
- Place an egress proxy or response filter in front of OpenClaw to strip attachments that reference local filesystem paths.
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

