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.
Severity (CVSS)
| Base score | 8.8 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L |
| Provided by | CNA |
Weaknesses
- CWE-61 — UNIX Symbolic Link (Symlink) Following
Affected products
| Vendor | Product | Versions |
|---|---|---|
| bytecodealliance | wasmtime | 0 to <36.0.18 [affected]; 36.0.18 [unaffected]; 37.0.0 to <48.0.6 [affected]; 48.0.6 [unaffected]; 49.0.0 to <49.0.3 [affected]; 49.0.3 [unaffected] |
References
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 29 Oct 2026 07:02 UTC.