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-102806 Overview
CVE-2026-102806 is an incorrect authorization vulnerability [CWE-863] in OpenClaw before version 2026.9.5. The flaw resides in the Gateway's local media root allowlist, which fails to enforce filesystem isolation between sandboxed sessions. Sandboxed sessions or untrusted content can force the Gateway to read files from sibling session sandboxes or shared workspace directories. Media pipeline functions do not restrict reads to the active session, allowing cross-session data exposure.
Critical Impact
Attackers with low-privilege access to a sandboxed session can read files belonging to other sessions or shared workspace directories, breaking the tenant isolation model that OpenClaw's Gateway is intended to enforce.
Affected Products
- OpenClaw versions prior to 2026.9.5
- OpenClaw Gateway component (local media root allowlist)
- OpenClaw media-understanding attachment runner
Discovery Timeline
- 2026-09-29 - CVE-2026-102806 published to the National Vulnerability Database (NVD)
- 2026-09-29 - Last updated in NVD database
- Fix released - OpenClaw 2026.9.5 addresses the issue via commit fca04893
Technical Details for CVE-2026-102806
Vulnerability Analysis
The vulnerability lies in how OpenClaw's Gateway resolves local media roots when a session requests attachment processing. The allowlist that governs which filesystem paths the media pipeline may read is constructed without binding to the active session identifier. When a sandboxed session issues a media request, the pipeline merges sessionless default roots into the scoped root set. This restores parent workspace and sibling sandbox directories as readable locations. Untrusted content processed through the attachment runner in src/media-understanding/runner.attachments.ts can then reference files outside the caller's sandbox, resulting in cross-tenant read access.
Root Cause
The root cause is an authorization defect [CWE-863] in src/media/local-roots.ts, where the default local path roots were unconditionally included even for sandboxed sessions. The scoped root set was not treated as authoritative, so shared workspace and sandbox parent directories remained reachable. Additionally, workspaceMediaAccess was not propagated through message-action-runner.ts, leaving the runner unable to enforce session-bound access checks.
Attack Vector
An attacker requires low-privilege access to a sandboxed session on the network. No user interaction is required. By submitting an attachment or media reference that resolves to a path within a sibling sandbox or the shared workspace root, the attacker causes the Gateway to read and return that file's content. This yields confidentiality loss without impacting integrity or availability.
// Patch: bind local media roots to the active session
// Source: src/auto-reply/reply/agent-turn-attachments.ts
cfg: params.cfg,
ctx: params.ctx,
}),
+ // The scoped root set is authoritative: merging sessionless defaults back in would restore
+ // the shared workspace/sandbox parents for sandboxed sessions.
+ includeDefaultLocalPathRoots: false,
});
const results: AgentTurnAttachment[] = [];
const resultIndexes: number[] = [];
Source: OpenClaw Commit fca04893
// Patch: propagate workspaceMediaAccess to the message action runner
// Source: src/infra/outbound/message-action-runner.ts
requesterSenderUsername: input.requesterSenderUsername ?? undefined,
requesterSenderE164: input.requesterSenderE164 ?? undefined,
mediaAccess,
+ workspaceMediaAccess: input.workspaceMediaAccess,
sandboxRoot: input.sandboxRoot,
sandboxContainerWorkdir: input.sandboxContainerWorkdir,
})(sourceReplyPayload);
Source: OpenClaw Pull Request #144347
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-102806
Indicators of Compromise
- Gateway media pipeline log entries referencing filesystem paths outside the calling session's sandboxRoot or sandboxContainerWorkdir.
- Attachment processing events that resolve to sibling session directories or shared workspace parents.
- Unexpected file read operations originating from sandboxed sessions targeting cross-tenant paths.
Detection Strategies
- Audit Gateway logs for media attachment resolutions that traverse outside the active session's scoped root set.
- Correlate session identifiers with resolved media paths to detect divergence between the requesting session and the read target.
- Review commit fca04893 diff patterns to identify calls that omit includeDefaultLocalPathRoots: false in downstream forks or plugins.
Monitoring Recommendations
- Enable verbose logging in the media-understanding attachment runner and forward events to a centralized data lake for correlation.
- Alert on any file read event where the resolved path is not a descendant of the active session's sandbox root.
- Track the frequency of attachment operations per session and flag sessions that reference unusually broad path sets.
How to Mitigate CVE-2026-102806
Immediate Actions Required
- Upgrade OpenClaw to version 2026.9.5 or later, which contains the fix from pull request #144347.
- Inventory all Gateway deployments and confirm the patched build is running before restoring sandboxed session traffic.
- Rotate or invalidate any secrets that may have been readable from shared workspace directories during the exposure window.
Patch Information
The fix is delivered in OpenClaw 2026.9.5 via commit fca04893b5b337d2eb70a6ba41f03fc8e33eff83. The patch sets includeDefaultLocalPathRoots: false in the attachment turn builder and propagates workspaceMediaAccess through the outbound message action runner. See the OpenClaw Release Notes 2026.9.5 and the VulnCheck Advisory for OpenClaw for details.
Workarounds
- Restrict sandboxed sessions to per-tenant filesystem mounts so shared workspace parents are not reachable at the OS level.
- Disable the media attachment pipeline for untrusted sessions until the patched build is deployed.
- Apply strict path allowlisting at the container or filesystem layer to prevent cross-session reads even if the Gateway's authorization check is bypassed.
# Verify installed OpenClaw version
openclaw --version
# Upgrade to the patched release
npm install -g openclaw@2026.9.5
# Restart the Gateway service after upgrade
systemctl restart openclaw-gateway
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

