{"cve":"CVE-2026-41338","nvd":{"published":"2026-04-23T22:16:39.957","modified":"2026-06-17T10:46:32.250","status":"Analyzed","description":"OpenClaw before 2026.3.31 contains a time-of-check-time-of-use vulnerability in sandbox file operations that allows attackers to bypass fd-based defenses. Attackers can exploit check-then-act patterns in apply_patch, remove, and mkdir operations to manipulate files between validation and execution.","cvss_v4":{"vector":"CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:P/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N","score":4.3},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:L","score":5.0},"cwes":["CWE-367"],"references":["https://github.com/openclaw/openclaw/commit/32a4a47d602e0618f87b3e59f94d8c142767f860","https://github.com/openclaw/openclaw/security/advisories/GHSA-rm5c-4rmf-vvhw","https://www.vulncheck.com/advisories/openclaw-time-of-check-time-of-use-toctou-vulnerability-in-sandbox-file-operations"],"products":["openclaw:openclaw"],"source":"nvd","synced_at":"2026-10-19T22:33:09.003606135+00:00"},"epss":{"cve":"CVE-2026-41338","score":0.00088,"percentile":0.00343,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-rm5c-4rmf-vvhw","url":"https://osv.dev/vulnerability/GHSA-rm5c-4rmf-vvhw","summary":"OpenClaw: Sandbox file operations use check-then-act, bypassing fd-based TOCTOU defenses","modified":"2026-07-08T08:27:13.553870838Z","packages":[{"ecosystem":"npm","name":"openclaw","purl":"pkg:npm/openclaw","ranges":["<2026.3.31"],"fixed":["2026.3.31"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}