{"id":"CVE-2026-145026","summary":"Wasmtime before 36.0.22 WASI Filesystem Sandbox Escape on Windows via Drive-Prefixed Path","details":"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.","aliases":["GHSA-f2pq-268w-886c","RUSTSEC-2026-0587"],"modified":"2026-12-04T18:10:59.190864427Z","published":"2026-12-04T16:11:09.845Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-22"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145026.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/145xxx/CVE-2026-145026.json"},{"type":"ADVISORY","url":"https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-f2pq-268w-886c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-145026"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/wasmtime-before-36.0.22-wasi-filesystem-sandbox-escape-on-windows-via-drive-prefixed-path"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/bytecodealliance/wasmtime","events":[{"introduced":"0"},{"fixed":"4711c669ebeaeb2a90fd2ca463da9d5c6563577f"},{"introduced":"7b3d6ae79e9153a2477668062f5622c10333925f"},{"fixed":"0a4c15b6890cc1aaa28d97e1a560b2dbd21dbd6d"},{"introduced":"17830bd3c0331d920a8aa38846eebc4d46d98c23"},{"fixed":"886e27a66092807b6dfa3b1159e49c3aea37eb87"},{"introduced":"ebe5e8df1f4e12c5fc2f5954926881d8d61367d8"},{"fixed":"9bbe3e2f859a0d67af6a51e614b77a4b97cdc907"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"0"},{"fixed":"36.0.22"}]},{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"37.0.0"},{"fixed":"48.0.10"}]},{"range":[{"introduced":"49.0.0"},{"fixed":"49.0.7"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"range":[{"introduced":"50.0.0"},{"fixed":"50.0.3"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]}}],"versions":["v50.0.2","v49.0.6","v48.0.9","v36.0.21","v36.0.20","v48.0.8","v49.0.5","v50.0.1","v50.0.0","v49.0.4","v36.0.19","v48.0.7","v36.0.18","v48.0.6","v49.0.3","v48.0.5","v36.0.17","v49.0.2","v48.0.4","v48.0.3","v49.0.1","v36.0.16","v49.0.0","v48.0.2","v36.0.15","v48.0.1","v36.0.14","v48.0.0","v36.0.13","v36.0.12","v36.0.11","v36.0.10","v36.0.9","v36.0.8","v36.0.7","v36.0.6","v36.0.5","v36.0.4","v36.0.3","v36.0.2","v36.0.1","v36.0.0","v0.35.0","v0.33.0","v0.34.0","v0.32.0","v0.31.0","v0.30.0","v0.29.0","v0.28.0","v0.27.0","v0.26.0","v0.25.0","v0.24.0","v0.23.0","v0.22.0","cranelift-v0.69.0","v0.21.0","v0.20.0","v0.19.0","v0.18.0","v0.17.0","v0.16.0","cranelift-v0.61.0","cranelift-v0.60.0","v0.12.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-145026.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}