8.8high
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
- Severity
- 8.8high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.29% (higher than 23% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- RUSTSEC-2026-0352GHSA-m9f7-9w4p-gv38
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
| Product or package | Versions | Reported by |
|---|---|---|
| bytecodealliance wasmtime | before 36.0.18, from 37.0.0 before 48.0.6, from 49.0.0 before 49.0.3 Not affected: 36.0.18, 48.0.6, 49.0.3 | CVE List |
| wasmtime-wasi (crates.io) | from 0.0.0-0 before 36.0.18, from 37.0.0 before 48.0.6, from 49.0.0 before 49.0.3 | RustSec Advisory Database |
All scores
| VulnCheck | 8.8high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L |
| VulnCheck | 7.9high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:L |
| RustSec Advisory Database | Not scored CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
RustSec Advisory Database
This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-m9f7-9w4p-gv38 For more information see the GitHub-hosted security advisory.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-118688 changed 2026-11-04 | CVE Terms of Use |
| RustSec Advisory Database | RUSTSEC-2026-0352 changed 2026-10-29 | CC0-1.0 |
| NVD | CVE-2026-118688 changed 2026-11-04 | Public domain |