CVE-2026-118688
Wasmtime before 36.0.18, 37.0.0 before 48.0.6, and 49.0.0 before 49.0.3 Sandbox Escape via Symlink Rename
Also known as GHSA-m9f7-9w4p-gv38, RUSTSEC-2026-0352
Mitigation
- Upgrade wasmtime-wasi to one of 36.0.18, 48.0.6, 49.0.3 (or later in the same release line).
Who should check
- Projects that depend on crates.io package wasmtime-wasi (>= 0.0.0-0, < 36.0.18; >= 37.0.0, < 48.0.6; >= 49.0.0, < 49.0.3)
- Anyone running bytecodealliance wasmtime < 36.0.18; >= 37.0.0, < 48.0.6; >= 49.0.0, < 49.0.3
Vulnerability facts
- Affected
- wasmtime-wasi >= 0.0.0-0, < 36.0.18; >= 37.0.0, < 48.0.6; >= 49.0.0, < 49.0.3
- Fixed in
- 36.0.18, 48.0.6, 49.0.3
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 8.8 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:L/SC:H/SI:H/SA:LOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: Present
- Privileges required: Low
- User interaction: Passive
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: Low
- Confidentiality impact on other systems: High
- Integrity impact on other systems: High
- Availability impact on other systems: Low
- EPSS
- 0.38% chance of exploitation in 30 days (percentile 24, 2026-11-26)
- CWE
- CWE-61
- Modified
Description
wasmtime-wasi in Wasmtime before 36.0.18, 37.0.0 before 48.0.6, and 49.0.0 before 49.0.3 re-appends a trailing slash to rename source paths, causing renameat on macOS and FreeBSD hosts to follow directory symlinks. A guest with sandbox write access can rename a relative symlink such as "up/" to move host directories into its sandbox and read or write them.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| crates.io wasmtime-wasi | >= 0.0.0-0, < 36.0.18; >= 37.0.0, < 48.0.6; >= 49.0.0, < 49.0.3 | 36.0.18, 48.0.6, 49.0.3 | osv |
| bytecodealliance wasmtime | < 36.0.18; >= 37.0.0, < 48.0.6; >= 49.0.0, < 49.0.3 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-118688. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-118688.md Affected: wasmtime-wasi >= 0.0.0-0, < 36.0.18; >= 37.0.0, < 48.0.6; >= 49.0.0, < 49.0.3 Fixed in: 36.0.18, 48.0.6, 49.0.3 Steps: 1. Search this machine and project for wasmtime-wasi (crates.io), bytecodealliance wasmtime: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2026-118688 being exploited?
There is no confirmed exploitation: CVE-2026-118688 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.38% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-118688?
High: CVSS 8.8 (v4.0, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2026-118688?
wasmtime-wasi >= 0.0.0-0, < 36.0.18; >= 37.0.0, < 48.0.6; >= 49.0.0, < 49.0.3.
Is there a fix for CVE-2026-118688?
Yes. Fixed in 36.0.18, 48.0.6, 49.0.3. Upgrade wasmtime-wasi to one of 36.0.18, 48.0.6, 49.0.3 (or later in the same release line).
How do I check if I'm affected by CVE-2026-118688?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.