{"id":"GHSA-6c4r-g249-wv3c","title":"OpenClaw: Sandboxed session spawn could expose the real workspace path to child prompts","summary":"OpenClaw: Sandboxed session spawn could expose the real workspace path to child prompts","severity":"medium","cwe":["CWE-668"],"vendor":"openclaw","product":"openclaw","ecosystem":"npm","affected":["openclaw <= 2026.4.25"],"patched":["openclaw 2026.4.26"],"published":"2026-07-02","updated":"2026-07-02","source":"GHSA","sourceUrl":"https://github.com/advisories/GHSA-6c4r-g249-wv3c","references":[{"url":"https://github.com/openclaw/openclaw/security/advisories/GHSA-6c4r-g249-wv3c"},{"url":"https://github.com/advisories/GHSA-6c4r-g249-wv3c"}],"tags":["ghsa","npm"],"ingestedAt":"2026-07-02T17:40:39.322Z","slug":"GHSA-6c4r-g249-wv3c","body":"## Overview\n\n### Summary\n\nSandboxed session spawn could expose the real workspace path to child prompts. In affected versions, a child session spawned from a sandboxed parent could forward the host workspace path into the child session prompt.\n\nThis advisory is scoped to the named feature and configuration. It does not change OpenClaw's trusted-operator model: authenticated Gateway operators, installed plugins, and intentional local execution surfaces remain trusted unless a separate policy, approval, allowlist, sandbox, or auth boundary is crossed.\n\n### Impact\n\nWhen the affected feature is enabled and reachable, this could reveal host workspace location or related memory context to the child model. Practical impact depends on the operator's configuration and whether lower-trust input can reach that path.\n\n### Patched Versions\n\nThe first stable patched version is `2026.4.26`.\n\n### Mitigations\n\navoid spawning child sessions from sensitive sandboxed workspaces until patched. As general hardening, keep channel and tool allowlists narrow, avoid sharing one Gateway between mutually untrusted users, and disable the affected feature when it is not needed.\n\n## Affected packages\n\n- `openclaw <= 2026.4.25`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `openclaw 2026.4.26`","depth":"sunlit","depthScore":28,"depthScoreParts":{"impact":27.5,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}