{"id":"GHSA-qcc4-p59m-p54m","summary":"OpenClaw: Sandbox dangling-symlink alias handling could bypass workspace-only write boundary","details":"### Summary\nA sandbox boundary-validation gap in symlink alias handling allowed certain workspace-only write paths to be treated as in-boundary even when they could resolve outside the workspace/sandbox root.\n\n### Affected Packages / Versions\n- Package: npm `openclaw`\n- Affected versions: `\u003c= 2026.2.25`\n- Latest published npm version included in affected range: `2026.2.25` (checked on February 26, 2026)\n- Patched version (pre-set for release): `2026.2.26`\n\n### Technical Details\nIn affected versions, dangling symlink hops could be accepted during boundary checks under missing-target conditions. For workspace-only write flows (including `apply_patch`), this could allow writes to resolve outside the configured workspace/sandbox boundary.\n\nThe fix resolves symlink targets through existing ancestors and fails closed when canonical resolution escapes the configured boundary.\n\n### Impact\n- Boundary-confined write operations could be redirected outside the configured workspace/sandbox root.\n- Primary impact is integrity of host-side files reachable from that path resolution.\n\n### Fix Commit(s)\n- `4fd29a35bb85a1898ebff518364c467058b50e14`\n\n### Release Process Note\n`patched_versions` is pre-set to the planned next release (`2026.2.26`) so once npm `2026.2.26` is published, the advisory can be published without further field edits.\n\nThanks @tdjackey for reporting.","modified":"2026-03-14T02:39:11.765229Z","published":"2026-03-12T14:21:54Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2026-03-12T14:21:54Z","nvd_published_at":null,"cwe_ids":["CWE-367","CWE-59"],"severity":"HIGH"},"references":[{"type":"WEB","url":"https://github.com/openclaw/openclaw/security/advisories/GHSA-qcc4-p59m-p54m"},{"type":"WEB","url":"https://github.com/openclaw/openclaw/commit/4fd29a35bb85a1898ebff518364c467058b50e14"},{"type":"PACKAGE","url":"https://github.com/openclaw/openclaw"}],"affected":[{"package":{"name":"openclaw","ecosystem":"npm","purl":"pkg:npm/openclaw"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2026.2.26"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 2026.2.25","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-qcc4-p59m-p54m/GHSA-qcc4-p59m-p54m.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}