Disclosed weakness · no CVE recorded

OpenClaw owner sessions could omit the configured file boundary

OpenClaw · OpenClaw Gateway tools in CLI-backed sessions

First documented disclosure · Review checkpoint

Summary

An owner’s CLI-backed chat could use Gateway file tools outside its configured session root.

Severity and exploitation evidence

No CVSS score recorded in this review.

Exploitation not established: Public original advisories and static source evidence only; no exploit, package, provider request or upstream test was executed. No malicious exploitation against users is established by this review.

Exploitation evidence source

Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.

How the weakness works

The Gateway applied the session permission policy only to inherited sender restrictions, leaving owner and unrestricted tool calls outside that boundary.

Conditions required

An authorized owner uses a mode-configured session, such as a Claude CLI chat, that invokes OpenClaw Gateway tools.

Potential impact

Agent file reads or writes can exceed the session’s intended boundary; this is not an unauthenticated network bypass.

Affected versions and configurations

Affected pre-correction source; complete released-version range unverified.

Fix and mitigation status

Stable 2026.11.10 and gateway-only extended-stable 2026.10.34 contain the inspected correction. An earlier fixed stable build may exist.

Practical next steps

Deploy a corrected Gateway and verify the mode and root used by its file tools for each runtime.

Operating lesson

The component executing a tool must enforce that tool’s configured boundary.

Evidence and limits

PR 202941 merged November 21, used as the conservative disclosure checkpoint. Tagged production code now applies params.sessionPermissionPolicy to every caller and selects the prepared session workspace when a mode exists. The correction bounds file tools and chooses the exec reviewer; it does not by itself sandbox command execution to sessionRoot. Native runtime tools retain their own controls, and sessions with no mode are outside this change. Upstream live and synthetic checks were not independently repeated.

Sources