{"id":"GHSA-xvx8-77m6-gwg6","revision":"4f18e694ff624d30b55ddcf481474408","records":[{"revision":"4f18e694ff624d30b55ddcf481474408","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-xvx8-77m6-gwg6","aliases":["CVE-2026-32977"],"title":"OpenClaw: Sandbox `writeFile` commit could race outside the validated path","description":"## Summary\nIn affected versions of `openclaw`, the sandbox fs-bridge `writeFile` commit step used an unanchored container path during the final move into place. An attacker racing parent-path changes inside the sandbox could redirect the committed file outside the validated sandbox path.\n\n## Impact\nThis is a sandbox boundary bypass. In-sandbox code could win a time-of-check-time-of-use race and cause host-approved `writeFile` operations to land outside the validated writable path within the container mount namespace.\n\n## Affected Packages and Versions\n- Package: `openclaw` (npm)\n- Affected versions: `< 2026.3.11`\n- Fixed in: `2026.3.11`\n\n## Technical Details\nThe hardening work for anchored remove, rename, and mkdir operations did not fully cover the `writeFile` commit path. The final `mv` still used the raw target path, leaving a race window between safety revalidation and the in-container commit step.\n\n## Fix\nOpenClaw now anchors the `writeFile` commit path to the canonical parent directory before the final move. The fix shipped in `openclaw@2026.3.11`.\n\n## Workarounds\nUpgrade to `2026.3.11` or later.","state":0,"publishedAt":"2026-03-13T15:47:15+00:00","modifiedAt":"2026-04-06T23:12:30.302058+00:00","affected":[{"ecosystem":"npm","name":"openclaw","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2026.3.11"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/openclaw/openclaw/security/advisories/GHSA-xvx8-77m6-gwg6","https://nvd.nist.gov/vuln/detail/CVE-2026-32977","https://github.com/openclaw/openclaw","https://github.com/openclaw/openclaw/releases/tag/v2026.3.11","https://www.vulncheck.com/advisories/openclaw-sandbox-boundary-bypass-via-unanchored-writefile-commit-path"],"sourceUrl":"https://github.com/advisories/GHSA-xvx8-77m6-gwg6","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-xvx8-77m6-gwg6","identifiers":["GHSA-xvx8-77m6-gwg6","CVE-2026-32977"]},"retained":false,"historicalAffected":[]}],"coverage":[]}