Wasmtime: sandbox escape via rename
HighAI-generated2026-11-04
- CVE
- CVE-2026-118688
- Severity
- High (CVSS 7.9)
- Attack conditions
- Remotely, over the network · A regular user account is needed · A user must take some action
- Exploitation probability (EPSS)
- 0.2% (within 30 days; FIRST EPSS, 1 November 2026)
Summary
Wasmtime versions before 36.0.18, 48.0.6, and 49.0.3 allow a sandboxed guest to rename symlinks and access host directories.
Details
According to the NVD record, the vulnerability exists in Wasmtime's WASI implementation. It affects Wasmtime releases prior to 36.0.18, 48.0.6, and 49.0.3. The flaw causes the system to add a trailing slash when renaming source paths, which on macOS and FreeBSD leads to directory symlink traversal.
An attacker who can write inside the sandbox can rename a relative symlink such as "up/". This moves host directories into the sandbox, allowing the attacker to read or modify files outside the intended isolation.
What to do
The source record does not name a specific patch, fixed version or workaround. General measures:
- Follow the vendor's security advisories.
- Apply the update when it is released.
- Limit access to the product as much as possible, especially from the internet.
Sources
Timeline
- 28 October 2026 NVD record published
- 4 November 2026 This article was written