{"id":"CVE-2026-145026","state":"PUBLISHED","title":"Wasmtime before 36.0.22 WASI Filesystem Sandbox Escape on Windows via Drive-Prefixed Path","description":"The wasmtime-wasi crate in Wasmtime before 36.0.22, 37.x through 48.x before 48.0.10, 49.x before 49.0.7, and 50.x before 50.0.3 on Windows mis-resolves drive-prefixed path components such as ./C:foo as drive-relative host paths, escaping the WASI filesystem sandbox. A guest with any preopened directory can use path-taking WASI functions or symlink targets to read, or with write access modify or delete, any file the host process can access.","publishedAt":"2026-12-04T16:11:09.845Z","updatedAt":"2026-12-04T16:11:09.845Z","severity":{"score":7.5,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","source":"VulnCheck"},"assigner":"VulnCheck","products":["bytecodealliance wasmtime"],"affected":[{"vendor":"bytecodealliance","product":"wasmtime","packageURL":"pkg:cargo/wasmtime-wasi","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"36.0.22","versionType":"semver"},{"version":"36.0.22","status":"unaffected","versionType":"semver"}]},{"vendor":"bytecodealliance","product":"wasmtime","packageURL":"pkg:cargo/wasmtime-wasi","defaultStatus":"unaffected","versions":[{"version":"37.0.0","status":"affected","lessThan":"48.0.10","versionType":"semver"},{"version":"48.0.10","status":"unaffected","versionType":"semver"}]},{"vendor":"bytecodealliance","product":"wasmtime","packageURL":"pkg:cargo/wasmtime-wasi","defaultStatus":"unaffected","versions":[{"version":"49.0.0","status":"affected","lessThan":"49.0.7","versionType":"semver"},{"version":"49.0.7","status":"unaffected","versionType":"semver"}]},{"vendor":"bytecodealliance","product":"wasmtime","packageURL":"pkg:cargo/wasmtime-wasi","defaultStatus":"unaffected","versions":[{"version":"50.0.0","status":"affected","lessThan":"50.0.3","versionType":"semver"},{"version":"50.0.3","status":"unaffected","versionType":"semver"}]}],"references":["https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-f2pq-268w-886c","https://www.vulncheck.com/advisories/wasmtime-before-36.0.22-wasi-filesystem-sandbox-escape-on-windows-via-drive-prefixed-path"],"weaknesses":["CWE-22"],"ingestedAt":"2026-12-04T16:16:07.245Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/145xxx/CVE-2026-145026.json","commit":"d91d63da22a5713f3b8914a4e29d14231807f2a1","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-145026","state":"PUBLISHED","datePublished":"2026-12-04T16:11:09.845Z","dateUpdated":"2026-12-04T16:11:09.845Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-12-04T14:45:47.886Z"},"containers":{"cna":{"title":"Wasmtime before 36.0.22 WASI Filesystem Sandbox Escape on Windows via Drive-Prefixed Path","descriptions":[{"lang":"en","value":"The wasmtime-wasi crate in Wasmtime before 36.0.22, 37.x through 48.x before 48.0.10, 49.x before 49.0.7, and 50.x before 50.0.3 on Windows mis-resolves drive-prefixed path components such as ./C:foo as drive-relative host paths, escaping the WASI filesystem sandbox. A guest with any preopened directory can use path-taking WASI functions or symlink targets to read, or with write access modify or delete, any file the host process can access."}],"affected":[{"vendor":"bytecodealliance","product":"wasmtime","packageURL":"pkg:cargo/wasmtime-wasi","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"36.0.22","versionType":"semver"},{"version":"36.0.22","status":"unaffected","versionType":"semver"}]},{"vendor":"bytecodealliance","product":"wasmtime","packageURL":"pkg:cargo/wasmtime-wasi","defaultStatus":"unaffected","versions":[{"version":"37.0.0","status":"affected","lessThan":"48.0.10","versionType":"semver"},{"version":"48.0.10","status":"unaffected","versionType":"semver"}]},{"vendor":"bytecodealliance","product":"wasmtime","packageURL":"pkg:cargo/wasmtime-wasi","defaultStatus":"unaffected","versions":[{"version":"49.0.0","status":"affected","lessThan":"49.0.7","versionType":"semver"},{"version":"49.0.7","status":"unaffected","versionType":"semver"}]},{"vendor":"bytecodealliance","product":"wasmtime","packageURL":"pkg:cargo/wasmtime-wasi","defaultStatus":"unaffected","versions":[{"version":"50.0.0","status":"affected","lessThan":"50.0.3","versionType":"semver"},{"version":"50.0.3","status":"unaffected","versionType":"semver"}]}],"references":[{"url":"https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-f2pq-268w-886c","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-f2pq-268w-886c)"},{"url":"https://www.vulncheck.com/advisories/wasmtime-before-36.0.22-wasi-filesystem-sandbox-escape-on-windows-via-drive-prefixed-path","name":"VulnCheck Advisory: Wasmtime before 36.0.22 WASI Filesystem Sandbox Escape on Windows via Drive-Prefixed Path","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"PASSIVE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.1,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-12-04T16:11:09.845Z"},"datePublic":"2026-11-19T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:bytecodealliance:wasmtime:*:*:*:*:*:*:*:*","versionEndExcluding":"36.0.22"}]}]},{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:bytecodealliance:wasmtime:*:*:*:*:*:*:*:*","versionStartIncluding":"37.0.0","versionEndExcluding":"48.0.10"}]}]},{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:bytecodealliance:wasmtime:*:*:*:*:*:*:*:*","versionStartIncluding":"49.0.0","versionEndExcluding":"49.0.7"}]}]},{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:bytecodealliance:wasmtime:*:*:*:*:*:*:*:*","versionStartIncluding":"50.0.0","versionEndExcluding":"50.0.3"}]}]}],"credits":[{"lang":"en","value":"ray910408","type":"reporter"}],"x_generator":{"engine":"vulncheck-endgame"}}}}}