cvelo
P2 · HighCVSS 7.1

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

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 versionsFixed in
    from 50.0.0 to before 50.0.350.0.3
    from 49.0.0 to before 49.0.749.0.7
    from 37.0.0 to before 48.0.1048.0.10
    before 36.0.2236.0.22
  • wasmtime-wasicrates.io

    Affected versionsFixed in
    from 50.0.0 to before 50.0.350.0.3
    from 49.0.0 to before 49.0.749.0.7
    from 37.0.0 to before 48.0.1048.0.10
    from 0.0.0-0 to before 36.0.2236.0.22

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.