{"id":"GHSA-rm5c-4rmf-vvhw","revision":"f1d692312472449b8cb92fb8ec6e325e","records":[{"revision":"f1d692312472449b8cb92fb8ec6e325e","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-rm5c-4rmf-vvhw","aliases":["CVE-2026-41338"],"title":"OpenClaw: Sandbox file operations use check-then-act, bypassing fd-based TOCTOU defenses","description":"## Summary\nSandbox file operations use check-then-act, bypassing fd-based TOCTOU defenses\n\n## Current Maintainer Triage\n- Status: narrow\n- Normalized severity: medium\n- Assessment: Released workspace-only apply_patch remove and mkdir operations were still check-then-act, but the draft overstates scope by bundling broader edit paths; keep it open but narrow it to the actual sandbox-workspace mutation boundary.\n\n## Affected Packages / Versions\n- Package: `openclaw` (npm)\n- Latest published npm version: `2026.3.31`\n- Vulnerable version range: `<=2026.3.28`\n- Patched versions: `>= 2026.3.31`\n- First stable tag containing the fix: `v2026.3.31`\n\n## Fix Commit(s)\n- `32a4a47d602e0618f87b3e59f94d8c142767f860` — 2026-03-30T16:49:49+01:00\n\nOpenClaw thanks @AntAISecurityLab for reporting.","state":0,"publishedAt":"2026-04-03T03:01:57+00:00","modifiedAt":"2026-07-08T08:27:13.5538708+00:00","affected":[{"ecosystem":"npm","name":"openclaw","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2026.3.31"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/openclaw/openclaw/security/advisories/GHSA-rm5c-4rmf-vvhw","https://github.com/openclaw/openclaw/commit/32a4a47d602e0618f87b3e59f94d8c142767f860","https://github.com/openclaw/openclaw","https://github.com/openclaw/openclaw/releases/tag/v2026.3.31"],"sourceUrl":"https://github.com/advisories/GHSA-rm5c-4rmf-vvhw","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-rm5c-4rmf-vvhw","identifiers":["GHSA-rm5c-4rmf-vvhw","CVE-2026-41338"]},"retained":false,"historicalAffected":[]}],"coverage":[]}