CVE-2026-145026: WASI filesystem sandbox escape on Windows through a drive-prefixed path component

Published Nov 19, 2026
·
Updated

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.

Other sources

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-f2pq-268w-886c For more information see the GitHub-hosted security advisory.

— OSV

Affected Software

5 affected componentsFixes available
crates.io/wasmtime-wasi<36.0.22, >=37.0.0<48.0.10, >=49.0.0<49.0.7, >=50.0.0<50.0.3
rust/wasmtime-wasi>=0.0.0-0<36.0.22
36.0.22
rust/wasmtime-wasi>=37.0.0<48.0.10
48.0.10
rust/wasmtime-wasi>=49.0.0<49.0.7
49.0.7
rust/wasmtime-wasi>=50.0.0<50.0.3
50.0.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade rust/wasmtime-wasi to a version that resolves this vulnerability.

    Fixed in 36.0.22
  2. Upgrade

    Upgrade rust/wasmtime-wasi to a version that resolves this vulnerability.

    Fixed in 48.0.10
  3. Upgrade

    Upgrade rust/wasmtime-wasi to a version that resolves this vulnerability.

    Fixed in 49.0.7
  4. Upgrade

    Upgrade rust/wasmtime-wasi to a version that resolves this vulnerability.

    Fixed in 50.0.3
  5. Upgrade

    Upgrade wasmtime-wasi to a version that resolves this vulnerability.

    Fixed in 36.0.22
  6. Upgrade

    Upgrade wasmtime-wasi to a version that resolves this vulnerability.

    Fixed in 48.0.10
  7. Upgrade

    Upgrade wasmtime-wasi to a version that resolves this vulnerability.

    Fixed in 49.0.7
  8. Upgrade

    Upgrade wasmtime-wasi to a version that resolves this vulnerability.

    Fixed in 50.0.3

Event History

Nov 19, 2026
Advisory Published
via OSV·12:00 PM
Data Sourced
via OSV·12:00 PM
DescriptionSeverityAffected Software
Dec 4, 2026
CVE Published
via MITRE·04:11 PM
Data Sourced
via MITRE·04:11 PM
DescriptionSeverityWeakness
Data Sourced
via OSV·04:11 PM
Weakness
Data Sourced
via NVD·05:19 PM
DescriptionSeverityWeakness
Event
via NVD·05:19 PM

Frequently Asked Questions

1

Which deployments are exposed?

Only Windows deployments using the wasmtime-wasi crate are described as affected. The issue applies to Wasmtime versions 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.

2

What must an attacker control to exploit this?

A WASI guest needs access to any preopened directory. It can then supply a drive-prefixed path component through path-taking WASI functions or a symlink target.

3

What access can exploitation provide?

The guest can escape the WASI filesystem sandbox and read files accessible to the host process. If its available access permits writing, it can also modify or delete files the host process can access.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203