CVE-2026-118688 Details
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.
A vulnerability in the Wasmtime WebAssembly runtime's filesystem implementation, specifically in the 'wasmtime-wasi' crate, allows guests to escape their filesystem sandbox on macOS and FreeBSD. This issue is present in Wasmtime versions prior to 36.0.18, 37.0.0 prior to 48.0.6, and 49.0.0 prior to 49.0.3. The vulnerability arises because the 'wasmtime-wasi' component re-appends a trailing slash to rename source paths, which causes the 'renameat' system call on macOS and FreeBSD to follow directory symlinks. A guest with sandbox write access can exploit this by renaming a relative symlink to move host directories into its sandbox, where they can be read or written to.
Users are advised to upgrade to Wasmtime versions 36.0.18, 48.0.6, or 49.0.3, all of which include the necessary patch. Instructions for updating can be found in the Wasmtime documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 28, 2026CISA-ADP
Assessed Nov 4, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-61 | UNIX Symbolic Link (Symlink) Following | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| bytecodealliance wasmtime-wasi | <= 36.0.17 (semver) >= 37.0.0 (semver) <= 48.0.5 (semver) >= 49.0.0 (semver) <= 49.0.2 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 4, 2026 | CVE Modified | CISA-ADP |
| Oct 28, 2026 | New CVE Received | [email protected] |
Volerion