Wasmtime
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
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.8high · scored by CNA · CWE-61
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
bytecodealliance wasmtime
- < 36.0.18
- >= 37.0.0, < 48.0.6
- >= 49.0.0, < 49.0.3
Fixed in 36.0.18, 48.0.6, 49.0.3
Mitigation
Upgrade wasmtime to 36.0.18 or 48.0.6 or 49.0.3 or later.
References
- Vendor advisory github.com/bytecodealliance/wasmtime/security/…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.