Wasmtime before 36.0.22 WASI Filesystem Sandbox Escape on Windows via Drive-Prefixed Path
- CVE-2026-145026
- GHSA-f2pq-268w-886c
- RUSTSEC-2026-0587
- EUVD-2026-144348
Summary
CVE-2026-145026 affects 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 when running on Windows. Drive-prefixed path components such as ./C:foo are mis-resolved as drive-relative host paths, which bypasses the WASI filesystem sandbox. A guest holding any preopened directory can exploit this through path-taking WASI functions or symlink targets. The impact is reading any file the host process can access, and modifying or deleting such files where the guest has write access. The record gives a CVSS score of 7.1 and does not list it in the CISA known exploited vulnerabilities catalog.
AI summary · verify against the vendor advisory
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.
Text from the CVE.org record.
Recommendation
bytecodealliance wasmtime
- If you run 50.0.xupdate to 50.0.3 or laterPatch update: breaking changes are unlikely
- If you run 49.0.xupdate to 49.0.7 or laterPatch update: breaking changes are unlikely
- If you run a version from 37.0.0 to before 48.0.10update to 48.0.10 or laterMajor version change: expect breaking changes
- If you run a version before 36.0.22update to 36.0.22 or later
wasmtime-wasi
- If you run 50.0.xupdate to 50.0.3 or laterPatch update: breaking changes are unlikelywasmtime-wasi 50.0.3 on its registry (opens in a new tab)
- If you run 49.0.xupdate to 49.0.7 or laterPatch update: breaking changes are unlikelywasmtime-wasi 49.0.7 on its registry (opens in a new tab)
- If you run a version from 37.0.0 to before 48.0.10update to 48.0.10 or laterMajor version change: expect breaking changeswasmtime-wasi 48.0.10 on its registry (opens in a new tab)
- If you run a version from 0.0.0-0 to before 36.0.22update to 36.0.22 or laterMajor version change: expect breaking changeswasmtime-wasi 36.0.22 on its registry (opens in a new tab)
Taken from the version ranges the sources state. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
bytecodealliance wasmtime
Affected versions Fixed in from 50.0.0 to before 50.0.3 50.0.3 from 49.0.0 to before 49.0.7 49.0.7 from 37.0.0 to before 48.0.10 48.0.10 before 36.0.22 36.0.22 wasmtime-wasicrates.io
Affected versions Fixed in from 50.0.0 to before 50.0.3 50.0.3 from 49.0.0 to before 49.0.7 49.0.7 from 37.0.0 to before 48.0.10 48.0.10 from 0.0.0-0 to before 36.0.22 36.0.22
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.