CVE-2026-118688
JSON

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 packageVersionsReported by
bytecodealliance wasmtimebefore 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.3RustSec Advisory Database

All scores

VulnCheck8.8high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L
VulnCheck7.9high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:L
RustSec Advisory DatabaseNot scored CVSS:4.0CVSS: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

CWE-61

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

SourceRecordLicence
CVE ListCVE-2026-118688 changed 2026-11-04CVE Terms of Use
RustSec Advisory DatabaseRUSTSEC-2026-0352 changed 2026-10-29CC0-1.0
NVDCVE-2026-118688 changed 2026-11-04Public domain