{"id":"CVE-2026-118688","aliases":["CVE-2026-118688","RUSTSEC-2026-0352","GHSA-m9f7-9w4p-gv38"],"related":[],"kind":"vulnerability","state":"published","title":"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","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"This is an entry in the RustSec database for the Wasmtime security advisory\nlocated at\nhttps://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-m9f7-9w4p-gv38\nFor more information see the GitHub-hosted security advisory.","format":"markdown","source":"rustsec"}],"published":"2026-10-14T12:00:00.000Z","modified":"2026-11-04T15:17:39.073Z","severity":{"scorer":"VulnCheck","scheme":"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","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"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","score":8.8,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:L","score":7.9,"rating":"HIGH"},{"scorer":"RustSec Advisory Database","scheme":"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"}],"cwes":["CWE-61"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"36.0.18","status":"affected"},{"type":"semver","version":"36.0.18","status":"unaffected"},{"type":"semver","introduced":"37.0.0","fixed":"48.0.6","status":"affected"},{"type":"semver","version":"48.0.6","status":"unaffected"},{"type":"semver","introduced":"49.0.0","fixed":"49.0.3","status":"affected"},{"type":"semver","version":"49.0.3","status":"unaffected"}],"vendor":"bytecodealliance","product":"wasmtime","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"36.0.18"},{"type":"semver","introduced":"37.0.0","status":"affected","fixed":"48.0.6"},{"type":"semver","introduced":"49.0.0","status":"affected","fixed":"49.0.3"}],"ecosystem":"crates.io","package":"wasmtime-wasi","purl":"pkg:cargo/wasmtime-wasi","source":"rustsec"}],"references":[{"url":"https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-m9f7-9w4p-gv38","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/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","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://crates.io/crates/wasmtime-wasi","tags":["package"],"sources":["rustsec"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0352.html","tags":["advisory"],"sources":["rustsec"]},{"url":"https://github.com/bytecodealliance/wasmtime/pull/14729","tags":["web"],"sources":["rustsec"]}],"credits":["rvolosatovs","alexcrichton"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-11-04T15:08:03.562Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-118688","url":"https://www.cve.org/CVERecord?id=CVE-2026-118688","licence":"CVE Terms of Use","modified":"2026-11-04T15:08:13.222Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2026-0352","url":"https://rustsec.org/advisories/RUSTSEC-2026-0352.html","licence":"CC0-1.0","modified":"2026-10-29T10:56:01.834Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-118688","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118688","licence":"Public domain","modified":"2026-11-04T15:17:39.073Z"}],"updatedAt":"2026-11-25T22:59:47.677Z","epss":{"score":0.00295,"percentile":0.23781,"date":"2026-12-01T12:00:22.000Z"}}