CVE-2026-118688
Published:October 28, 2026
Updated:October 29, 2026
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 Packages
https://github.com/bytecodealliance/wasmtime.git (GITHUB):
Affected version(s) >=v36.0.15 <v36.0.18Fix Suggestion:
Update to version v36.0.18https://github.com/bytecodealliance/wasmtime.git (GITHUB):
Affected version(s) =v50.0.0-rc.1 <v50.0.0Fix Suggestion:
Update to version v50.0.0https://github.com/bytecodealliance/wasmtime.git (GITHUB):
Affected version(s) >=v49.0.0-rc.1 <v49.0.3Fix Suggestion:
Update to version v49.0.3https://github.com/bytecodealliance/wasmtime.git (GITHUB):
Affected version(s) >=v48.0.2 <v48.0.6Fix Suggestion:
Update to version v48.0.6wasmtime-wasi (RUST):
Affected version(s) =50.0.0-rc.1 <50.0.0Fix Suggestion:
Update to version 50.0.0wasmtime-wasi (RUST):
Affected version(s) >=48.0.2 <48.0.6Fix Suggestion:
Update to version 48.0.6wasmtime-wasi (RUST):
Affected version(s) >=49.0.0-rc.1 <49.0.3Fix Suggestion:
Update to version 49.0.3wasmtime-wasi (RUST):
Affected version(s) >=36.0.15 <36.0.18Fix Suggestion:
Update to version 36.0.18Related Resources (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
LOW
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
LOW
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
HIGH
Subsequent System Availability
LOW
CVSS v3
Base Score:
7.9
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
LOW
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
LOW
Weakness Type (CWE)
UNIX Symbolic Link (Symlink) Following