Skip to content
CVE PROGRAM SOURCE RECORD7.5 High

CVE-2026-145026

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

bytecodealliance wasmtime

Default version status: unaffected

  • 0 to < 36.0.22affected
  • 36.0.22unaffected
pkg:cargo/wasmtime-wasi

bytecodealliance wasmtime

Default version status: unaffected

  • 37.0.0 to < 48.0.10affected
  • 48.0.10unaffected
pkg:cargo/wasmtime-wasi

bytecodealliance wasmtime

Default version status: unaffected

  • 49.0.0 to < 49.0.7affected
  • 49.0.7unaffected
pkg:cargo/wasmtime-wasi

bytecodealliance wasmtime

Default version status: unaffected

  • 50.0.0 to < 50.0.3affected
  • 50.0.3unaffected
pkg:cargo/wasmtime-wasi

References