CVE-2026-118688

NameCVE-2026-118688
Descriptionwasmtime-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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
rust-wasmtime (PTS)trixie26.0.1+dfsg-3vulnerable
forky, sid36.0.20+dfsg-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
rust-wasmtimesource(unstable)36.0.20+dfsg-1

Notes

https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-m9f7-9w4p-gv38

Search for package or bug name: Reporting problems