{"id":"EUVD-2026-25322","revision":null,"records":[{"revision":"58434b80caf944d5803320ffdfa1d67f","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-41338","aliases":[],"title":"OpenClaw < 2026.3.31 - Time-of-Check-Time-of-Use (TOCTOU) Vulnerability in Sandbox File Operations","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.","state":0,"publishedAt":"2026-04-23T21:57:57.757+00:00","modifiedAt":"2026-04-24T18:19:24.482+00:00","affected":[{"ecosystem":"Vendor product","name":"OpenClaw","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"OpenClaw\",\n                    \"product\": \"OpenClaw\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"packageURL\": \"pkg:npm/openclaw\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\",\n                            \"lessThan\": \"2026.3.31\"\n                        },\n                        {\n                            \"version\": \"2026.3.31\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","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,"severity":"MEDIUM"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:L","score":5,"severity":"MEDIUM"}],"references":["https://github.com/openclaw/openclaw/security/advisories/GHSA-rm5c-4rmf-vvhw","https://github.com/openclaw/openclaw/commit/32a4a47d602e0618f87b3e59f94d8c142767f860","https://www.vulncheck.com/advisories/openclaw-time-of-check-time-of-use-toctou-vulnerability-in-sandbox-file-operations"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-41338","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-41338","identifiers":["CVE-2026-41338"]},"retained":false,"historicalAffected":[]},{"revision":"741a118a92304302b9aff87ff64565c1","observedAt":"2026-11-23T14:27:30.616+00:00","statement":{"source":"euvd","id":"EUVD-2026-25322","aliases":["CVE-2026-41338"],"title":"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 opera…","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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 4.0","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,"severity":null}],"references":["https://github.com/openclaw/openclaw/security/advisories/GHSA-rm5c-4rmf-vvhw","https://github.com/openclaw/openclaw/commit/32a4a47d602e0618f87b3e59f94d8c142767f860","https://www.vulncheck.com/advisories/openclaw-time-of-check-time-of-use-toctou-vulnerability-in-sandbox-file-operations"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-25322","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Apr 23, 2026, 9:57:57 PM","dateUpdated":"Apr 24, 2026, 6:19:24 PM"},"relatedAdvisories":[{"id":"WID-SEC-W-2026-0948","title":"OpenClaw: Mehrere Schwachstellen","vulnerabilityIds":["CVE-2026-41296","CVE-2026-41297","CVE-2026-41300","CVE-2026-41302","CVE-2026-41329","CVE-2026-41330","CVE-2026-41331","CVE-2026-41333","CVE-2026-41334","CVE-2026-41335","CVE-2026-41336","CVE-2026-41337","CVE-2026-41338","CVE-2026-41340","CVE-2026-41341","CVE-2026-41343","CVE-2026-41345","CVE-2026-41347","CVE-2026-41349","CVE-2026-41350","CVE-2026-41353","CVE-2026-41355","CVE-2026-41356","CVE-2026-41357","CVE-2026-41359","CVE-2026-41364","CVE-2026-41365","CVE-2026-41366","CVE-2026-41369","CVE-2026-41370","CVE-2026-41373","CVE-2026-41374","CVE-2026-41375","CVE-2026-41376","CVE-2026-41377","CVE-2026-41378","CVE-2026-41379","CVE-2026-41381","CVE-2026-41382","CVE-2026-41385","CVE-2026-41386","CVE-2026-41391","CVE-2026-41393","CVE-2026-41394","CVE-2026-41396","CVE-2026-41397","CVE-2026-41402","CVE-2026-41403","CVE-2026-41404","CVE-2026-41405","CVE-2026-41406","CVE-2026-41408"]}],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-25322","identifiers":["EUVD-2026-25322","CVE-2026-41338"]},"retained":false,"historicalAffected":[]},{"revision":"b873e8f069a849f49de06c69ab37266e","observedAt":"2026-11-12T15:18:55.774+00:00","statement":{"source":"nvd","id":"CVE-2026-41338","aliases":[],"title":"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 opera…","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.","state":0,"publishedAt":"2026-04-23T22:16:39.957+00:00","modifiedAt":"2026-11-11T23:10:00.263+00:00","affected":[],"metrics":[{"system":"CVSS 4.0 · disclosure@vulncheck.com · Secondary","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","score":4.3,"severity":"MEDIUM"},{"system":"CVSS 3.1 · disclosure@vulncheck.com · Secondary","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:L","score":5,"severity":"MEDIUM"}],"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"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-41338","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-367"],"productCriteria":["cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*"],"sourceDates":{"published":"2026-04-23T22:16:39.957","lastModified":"2026-11-11T23:10:00.263"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-41338","identifiers":["CVE-2026-41338"]},"retained":false,"historicalAffected":[]},{"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":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-25T10:47:30.2236653+00:00","complete":true,"records":1795,"lastAttemptAt":"2026-11-25T10:47:30.2236653+00:00","lastSuccessAt":"2026-11-25T10:47:30.4731581+00:00","error":null,"lastVerifiedAt":"2026-11-25T10:47:30.4731593+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-8d356adab43082cb10bb7c033ed58312cf2ad2f0fb10e0afdf27fc89fa361f3b-eb33a37fae804496f103cb3c711c068eaf73ae5b7f2fc145db563dd9569d6d54","complete":true,"records":432073,"lastAttemptAt":"2026-11-25T10:44:59.7922852+00:00","lastSuccessAt":"2026-11-25T10:44:59.623386+00:00","error":null,"lastVerifiedAt":"2026-11-25T10:44:59.7922852+00:00","snapshotPublishedAt":"2026-11-25T10:30:26+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-64340dec61194e008a5f85a646ed6b46","complete":false,"records":13938,"lastAttemptAt":"2026-11-25T10:56:47.6350503+00:00","lastSuccessAt":"2026-11-25T10:56:47.63+00:00","error":"137 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-25T10:56:47.63+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13830,"expectedIdentifiers":13986,"failedIdentifiers":137},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-25T10:47:30.2236653+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-25T10:47:30.2236653+00:00","lastSuccessAt":"2026-11-25T10:47:30.4912384+00:00","error":null,"lastVerifiedAt":"2026-11-25T10:47:30.4912398+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-23f474d106184d03ba6ae4f1b9844075","complete":true,"records":13950,"lastAttemptAt":"2026-11-25T10:47:32.1172209+00:00","lastSuccessAt":"2026-11-25T10:47:32.113+00:00","error":null,"lastVerifiedAt":"2026-11-25T10:47:32.113+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13986,"expectedIdentifiers":13986,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-e743412268199d418c20ac5ea5d5eefbef4a1c78fcbacada525fcf2201b41d4a","complete":true,"records":10077,"lastAttemptAt":"2026-11-25T10:47:30.0581538+00:00","lastSuccessAt":"2026-11-24T23:11:09.9983084+00:00","error":null,"lastVerifiedAt":"2026-11-25T10:47:30.0581538+00:00","snapshotPublishedAt":"2026-11-24T22:48:13+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-25T10:45:01.0073572+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-25T10:45:01.0073572+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-40938cbac3e2265a24e0d129a60138a855ec8a44cbd619ad6c0de0b22c0e253f","complete":true,"records":3221,"lastAttemptAt":"2026-11-25T10:47:30.1652942+00:00","lastSuccessAt":"2026-11-24T22:27:06.1844325+00:00","error":null,"lastVerifiedAt":"2026-11-25T10:47:30.1652942+00:00","snapshotPublishedAt":"2026-11-24T22:03:27+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-6e5d85045a345af6d44ad78142d454d21ba8c2b270e694c2418444b295e2f9e6","complete":true,"records":233124,"lastAttemptAt":"2026-11-25T10:47:29.9128061+00:00","lastSuccessAt":"2026-11-25T10:47:28.4616168+00:00","error":null,"lastVerifiedAt":"2026-11-25T10:47:29.9128061+00:00","snapshotPublishedAt":"2026-11-25T10:33:22+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}