CVE-2026-145026
Deferred Deferred - Pending Action

Path Traversal in Wasmtime WASI Sandbox

Vulnerability report for CVE-2026-145026, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-04

Last updated on: 2026-12-04

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-04
Last Modified
2026-12-04
Generated
2026-12-04
AI Q&A
2026-12-04
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 4 associated CPEs
Vendor Product Version / Range
wasmtime wasmtime to 36.0.22 (exc)
wasmtime wasmtime From 37.0.0 (inc) to 48.0.10 (exc)
wasmtime wasmtime From 49.0.0 (inc) to 49.0.7 (exc)
wasmtime wasmtime From 50.0.0 (inc) to 50.0.3 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects Wasmtime's WASI filesystem sandbox on Windows. It allows a guest program to escape the sandbox by using drive-prefixed paths like ./C:foo, which are incorrectly resolved as host filesystem paths instead of staying within the sandbox. This lets the guest access, modify, or delete any file the host process can reach.

Detection Guidance

Check Wasmtime version with wasmtime --version. If using Windows and version is before 36.0.22, 48.0.10, 49.0.7, or 50.0.3, the system is vulnerable. Monitor for unusual file access patterns or unauthorized modifications outside sandboxed directories.

Impact Analysis

If you run Wasmtime on Windows with guest programs that have access to preopened directories, an attacker could exploit this to read sensitive files, overwrite critical data, or delete important files on your system. The impact depends on the host process's permissions.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive data, violating GDPR's data protection requirements or HIPAA's patient privacy rules. Unauthorized file access may result in data breaches, leading to legal penalties and reputational damage.

Mitigation Strategies

Upgrade Wasmtime to patched versions (36.0.22, 48.0.10, 49.0.7, or 50.0.3). Restrict guest access to preopened directories and audit filesystem permissions. Disable WASI functions if not required. Monitor for suspicious activity post-upgrade.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-145026. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...