{"id":"CVE-2026-118688","published":"2026-10-28T18:59:56Z","modified":"2026-11-04T15:08:13Z","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","vendor":"bytecodealliance","product":"wasmtime","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.9,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00242,"percentile":0.15681,"provenance":"source"},"cwes":[{"id":"CWE-61","name":"UNIX Symbolic Link (Symlink) Following"}],"references":[{"url":"https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-m9f7-9w4p-gv38","tags":["vendor-advisory"]},{"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"]}],"priority":{"score":8.7,"factors":[{"name":"EPSS percentile","points":3.14},{"name":"CVSS severity","points":5.53}]},"vendorSlug":"bytecodealliance","affectedVersions":[{"vendor":"bytecodealliance","product":"wasmtime","versions":["< 36.0.18",">= 37.0.0, < 48.0.6",">= 49.0.0, < 49.0.3"]}],"fixedVersions":[{"vendor":"bytecodealliance","product":"wasmtime","versions":["36.0.18","48.0.6","49.0.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-11-04T15:08:03.562555Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"wasmtime-wasi","vulnerableRanges":[">=0.0.0-0, <36.0.18",">=37.0.0, <48.0.6",">=49.0.0, <49.0.3"],"patched":["36.0.18","48.0.6","49.0.3"],"from":["RUSTSEC-2026-0352"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-112393","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-115381","published":"2026-10-22","fixed":"49.0.2","kev":false,"link":{"from":"CVE-2026-115381","to":"CVE-2026-118688","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:wasmtime-wasi","fromFixed":"36.0.17","toFixed":"36.0.18","daysApart":6}]}},{"cve":"CVE-2026-115385","published":"2026-10-22","fixed":"49.0.2","kev":false},{"cve":"CVE-2026-115386","published":"2026-10-22","fixed":"49.0.2","kev":false},{"cve":"CVE-2026-118688","published":"2026-10-28","fixed":"49.0.3","kev":false},{"cve":"CVE-2026-126410","published":"2026-11-13","fixed":"50.0.1","kev":false,"link":{"from":"CVE-2026-118688","to":"CVE-2026-126410","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:wasmtime-wasi","fromFixed":"48.0.6","toFixed":"48.0.8","daysApart":16},{"kind":"version-step","provenance":"source","package":"crates.io:wasmtime-wasi","fromFixed":"49.0.3","toFixed":"49.0.5","daysApart":16}]}}],"package":"crates.io:wasmtime-wasi"}}