# 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

- Severity: High 8.8 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Published: 2026-10-14T12:00:00.000Z
- Modified: 2026-11-04T15:17:39.073Z
- Also known as: RUSTSEC-2026-0352, GHSA-m9f7-9w4p-gv38
- Weaknesses: CWE-61
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- 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)
- 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

## Every score

- VulnCheck: CVSS:4.0 8.8 High `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: CVSS:3.1 7.9 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:L`
- RustSec Advisory Database: 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`

## References

- <https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-m9f7-9w4p-gv38> (vendor-advisory)
- <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> (third-party-advisory)
- <https://crates.io/crates/wasmtime-wasi> (package)
- <https://rustsec.org/advisories/RUSTSEC-2026-0352.html> (advisory)
- <https://github.com/bytecodealliance/wasmtime/pull/14729> (web)

## Sources

- CVE List: [CVE-2026-118688](https://www.cve.org/CVERecord?id=CVE-2026-118688), CVE Terms of Use, modified 2026-11-04
- RustSec Advisory Database: [RUSTSEC-2026-0352](https://rustsec.org/advisories/RUSTSEC-2026-0352.html), CC0-1.0, modified 2026-10-29
- NVD: [CVE-2026-118688](https://nvd.nist.gov/vuln/detail/CVE-2026-118688), Public domain, modified 2026-11-04

---

Page: https://cve.day/CVE-2026-118688 · Whole record: https://cve.day/CVE-2026-118688.json · Rebuilt by cve.day 2026-11-25T22:59:47.677Z
