Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-m9f7-9w4p-
- https://www.vulncheck.com/advisories/wasmtime-before-36.0.18-37.0.0-before-48.0.
FAQ
What is CVE-2026-118688?
CVE-2026-118688 is a vulnerability with a CVSS score of 7.9 (HIGH). 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 direc...
How severe is CVE-2026-118688?
CVE-2026-118688 has been rated HIGH with a CVSS base score of 7.9/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-118688?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.