CVE-2026-118688
7.9 HIGHpublic exploit availablePublished 2026-10-28 · Updated 2026-10-28
AI risk analysis
- Summary
- In Wasmtime versions before 36.0.18, 37.0.x before 48.0.6, and 49.0.x before 49.0.3, the wasmtime-wasi component incorrectly re-appends a trailing slash to rename source paths on macOS and FreeBSD, causing renameat to follow directory symlinks; a sandboxed guest with write access can exploit this by renaming a relative symlink like 'up/' to move host directories into its sandbox and read or write them.
- Exploitability
- Exploitation requires the guest WebAssembly module to have sandbox write permissions and the ability to create relative symlinks (e.g., 'up/') in the sandboxed filesystem, and the attack succeeds only on macOS or FreeBSD hosts due to the symlink-following behavior of renameat.
- Blast radius
- Successful exploitation allows a sandboxed WebAssembly guest to escape its intended isolation and access or modify arbitrary host directories within its write scope, potentially leading to data exfiltration, tampering, or further compromise of the host system.
- Detection
- No reliable host or network indicator is derivable from the published description.
- Prioritized remediation
- Upgrade Wasmtime to version 36.0.18 (for 36.x), 48.0.6 (for 37.x), or 49.0.3 (for 49.x) or later, as these versions fix the trailing-slash re-appending bug.
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD 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.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:L
Weaknesses
CWE-61
Public exploit & PoC references
All references
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- HIGHCVE-2026-115392PoC
- HIGHCVE-2026-110156
- HIGHCVE-2026-113117
- HIGHCVE-2026-113165
- HIGHCVE-2026-113191
- HIGHCVE-2026-113282
- HIGHCVE-2026-113312
- HIGHCVE-2026-113317
Related by shared AI tags and CWE weakness class. Browse the full archive.