CVE-2026-118688
HIGH 8.8CVSS 4.0Filesystem sandbox escape when renaming symlinks with trailing slashes
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.
- Published
- 28 Oct 2026
- Last modified
- 4 Nov 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Deferred
- Weakness
- CWE-61
- Also known as
- GHSA-m9f7-9w4p-gv38RUSTSEC-2026-0352
- Sources
- NVDJSONOSV RUSTSEC-2026-0352JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | HIGH 8.8 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | RustSec | 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 | |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | HIGH 7.9 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | 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 |
References
- https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-m9f7-9w4p-gv38
- https://www.vulncheck.com/advisories/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
- https://crates.io/crates/wasmtime-wasi · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2026-0352.html · ADVISORY
- https://github.com/bytecodealliance/wasmtime/pull/14729 · WEB
History
- 25 Nov 2026 21:23 UTC · NVD: first stored (published 28 Oct 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 Oct 2026)