Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessRun untrusted WASM guest with preopened directory
-
ExploitCraft drive-prefixed path (./C:foo) or symlink target
-
ExecutionWasmtime mis-resolves it to host path on Windows
-
ImpactRead, modify, or delete arbitrary host-accessible files
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires ALL of: (1) the host runs Wasmtime on a Windows host - the advisory states Linux/macOS and other platforms lack drive prefixes and are not affected; (2) the host executes an untrusted or malicious WebAssembly guest; and (3) the guest has been granted at least one preopened directory. The trigger is a guest-supplied path containing a drive-prefixed component (e.g. './C:foo'), used directly via WASIp1 path_open / WASIp2-p3 open-at and the related stat/create/remove/rename/link functions, or indirectly via a symlink target inside the sandbox. LIMITING FACTORS: read-only preopen access limits the attacker to reading files, while write access is required to create, overwrite, or delete them; non-Windows hosts are entirely unaffected; and a host that never runs untrusted guest code is not exposed. The only complete fix is updating to a patched release: 36.0.22, 48.0.10, 49.0.7, or 50.0.3 for the respective branches. |
| Impact | This is a genuine high-priority issue for the narrow population that actually runs it, not a paper tiger. The impact is a full WASI filesystem sandbox escape: a guest can read, and with write access modify or delete, any file the host process can access on any drive - confirmed by the Bytecode Alliance GHSA advisory and reflected in the CVSS 4.0 impact metrics (VC:H/VI:H/VA:H). The vuln.today Decision label is 'this_week' (not act_now/emergency), which aligns with the absence of active-exploitation signals: there is no CISA KEV listing and no EPSS score was provided in the input, so widespread opportunistic exploitation cannot be quantified. The input's CVSS 4.0 vector (CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/...) uses AV:N, but the mechanism is a malicious WebAssembly guest making WASI calls inside the host process, which is a local execution context - AV should be read with that caveat (the 'network' framing only applies when the untrusted module itself arrives over the network). The AT:P (attack requirement present) correctly captures two real gates: the host must be on Windows, and the guest must already hold a preopened directory. PR:L reflects that the guest is granted some capability (a preopen) rather than acting fully unauthenticated. Net: treat as a prompt-patch item for any Windows deployment that executes untrusted or semi-trusted WASM guests; de-prioritize for non-Windows hosts, which the advisory states are not affected. No EPSS data was supplied - verify exploitation probability separately if needed. |
| Exploit ScenarioDerived | A service on Windows runs an untrusted or third-party WebAssembly module and grants it a preopened working directory (the normal WASI pattern). The malicious guest passes a drive-prefixed path such as './C:foo' (or plants a symlink whose target is such a path) to a path-taking WASI function like path_open/open-at, causing Wasmtime to resolve it against the host filesystem instead of the sandbox and read, overwrite, or delete files anywhere the host process can reach. No public exploit identified at time of analysis, though the mechanism is fully described in the vendor advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 04, 2026
Filesystem sandbox escape in Wasmtime on Windows lets a WebAssembly guest with any preopened directory read, create, overwrite, or delete host files outside the intended sandbox by supplying a drive-prefixed path component such as ./C:foo. The flaw affects wasmtime-wasi 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; no public exploit identified at time of analysis, and vendor-released fixes are 36.0.22, 48.0.10, 49.0.7, and 50.0.3 for the respective branches, with remediation prioritized for this week.
RemediationAI
Update to the fixed release for your branch: 36.0.22, 48.0.10, 49.0.7, or 50.0.3. The vendor advisory states that updating is the only complete fix; exposure is limited to Windows hosts that run untrusted WebAssembly guests with at least one preopened directory, and read-only preopens limit the attacker to reading files while write access allows creation, overwriting, and deletion. Advisory: https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-f2pq-268w-886c.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in cargo, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Wasmtime's WASI filesystem implementation splits a guest path into components and hands each component to the OS layer as a standalone path. On Windows, a component such as C:foo was parsed at that layer as a normal name but was then interpreted by the next layer as a drive-relative host path, so a guest path like ./C:foo caused the operation to go to the host filesystem through ambient APIs instead of staying relative to the sandboxed directory. The issue is a path-traversal class flaw (CWE-22; the advisory also lists CWE-1471) in the wasmtime-wasi crate, reachable directly through any path-taking WASI function (WASIp1 path_open, WASIp2/WASIp3 open-at, and related stat, create, remove, rename, and link functions) or indirectly through the target of a symlink inside the sandbox. Only Windows hosts are affected because other platforms do not have drive prefixes; exploitation requires a Windows Wasmtime host running an untrusted guest that has at least one preopened directory, with read-only preopens limiting the attacker to reading and write access enabling creation, overwriting, and deletion.
Know when Wasmtime gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
The attacker is a locally-executing guest (AV:L) granted a preopen (PR:L); crafting the path is deterministic (AC:L); escaping the sandbox to the host filesystem crosses a trust boundary (S:C) enabling arbitrary read, write, and delete (C/I/A:H).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
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.
Articles & Coverage 1
Technical POC Analysis
CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), with a CWE-1471 parser differential as the enabling mechanism.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A high-severity sandbox escape in Wasmtime on Windows allows attackers with a preopened directory to access files outside the intended sandbox, impacting confidentiality, integrity, and availability of host systems. This flaw affects multiple Wasmtime versions used in production environments, putting sensitive data and critical operations at risk across the organization. Leadership should prioritize remediation to prevent potential data breaches or system compromise.
Vendor-released patch: 36.0.22, 48.0.10, 49.0.7, and 50.0.3
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Sandbox escape in Wasmtime on aarch64 lets a user-supplied WebAssembly module redirect an oversized br_table branch to a
Wasmtime versions before 36.0.19, and the 37.0.0 through 42.x line, can silently miscompile attacker-supplied WebAssembl
wasmtime is a fast and secure runtime for WebAssembly. Rated critical severity (CVSS 9.9), this vulnerability is remotel
Wasmtime is a standalone runtime for WebAssembly. Rated critical severity (CVSS 9.8), this vulnerability is remotely exp
Wasmtime is a standalone JIT-style runtime for WebAssembly, using Cranelift. Rated critical severity (CVSS 9.8), this vu
wasmtime is a runtime for WebAssembly. Rated medium severity (CVSS 5.5), this vulnerability is low attack complexity. Pu
Memory sandbox escape in Wasmtime's Winch compiler (versions 25.0.0 to before 36.0.7, 42.0.2, 43.0.1) enables authentica
Arbitrary memory read/write vulnerability in Bytecode Alliance Wasmtime versions 32.0.0 through 36.0.6, 42.0.0-42.0.1, a
Wasmtime is a standalone runtime for WebAssembly. Rated high severity (CVSS 8.8), this vulnerability is remotely exploit
Wasmtime is a standalone runtime for WebAssembly. Rated high severity (CVSS 8.8), this vulnerability is remotely exploit
Wasmtime is a standalone runtime for WebAssembly. Rated high severity (CVSS 8.6), this vulnerability is remotely exploit
Wasmtime's HTTP header handling in the wasmtime-wasi-http crate crashes when processing excessive header fields, allowin
EUVD-2026-144348
NVD
CVE.org
GitHub
Exploit-DB