{"id":"CVE-2026-118688","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","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.","publishedAt":"2026-10-28T18:59:56.965Z","updatedAt":"2026-10-28T18:59:56.965Z","severity":{"score":8.8,"label":"High","version":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["bytecodealliance wasmtime"],"affected":[{"vendor":"bytecodealliance","product":"wasmtime","packageURL":"pkg:cargo/wasmtime-wasi","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"36.0.18","versionType":"semver"},{"version":"36.0.18","status":"unaffected","versionType":"semver"},{"version":"37.0.0","status":"affected","lessThan":"48.0.6","versionType":"semver"},{"version":"48.0.6","status":"unaffected","versionType":"semver"},{"version":"49.0.0","status":"affected","lessThan":"49.0.3","versionType":"semver"},{"version":"49.0.3","status":"unaffected","versionType":"semver"}]}],"references":["https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-m9f7-9w4p-gv38","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"],"weaknesses":["CWE-61"],"ingestedAt":"2026-10-29T20:10:52.580Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/118xxx/CVE-2026-118688.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-118688","state":"PUBLISHED","datePublished":"2026-10-28T18:59:56.965Z","dateUpdated":"2026-10-28T18:59:56.965Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-10-28T17:31:29.498Z"},"containers":{"cna":{"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","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"bytecodealliance","product":"wasmtime","packageURL":"pkg:cargo/wasmtime-wasi","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"36.0.18","versionType":"semver"},{"version":"36.0.18","status":"unaffected","versionType":"semver"},{"version":"37.0.0","status":"affected","lessThan":"48.0.6","versionType":"semver"},{"version":"48.0.6","status":"unaffected","versionType":"semver"},{"version":"49.0.0","status":"affected","lessThan":"49.0.3","versionType":"semver"},{"version":"49.0.3","status":"unaffected","versionType":"semver"}]}],"references":[{"url":"https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-m9f7-9w4p-gv38","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-m9f7-9w4p-gv38)"},{"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","name":"VulnCheck Advisory: 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"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"PASSIVE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"LOW","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","subAvailabilityImpact":"LOW","baseScore":8.8,"baseSeverity":"HIGH"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:L","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"LOW","baseScore":7.9,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-61","lang":"en","description":"UNIX Symbolic Link (Symlink) Following","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-28T18:59:56.965Z"},"datePublic":"2026-10-14T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:bytecodealliance:wasmtime:*:*:*:*:*:*:*:*","versionEndExcluding":"36.0.18"},{"vulnerable":true,"criteria":"cpe:2.3:a:bytecodealliance:wasmtime:*:*:*:*:*:*:*:*","versionStartIncluding":"37.0.0","versionEndExcluding":"48.0.6"},{"vulnerable":true,"criteria":"cpe:2.3:a:bytecodealliance:wasmtime:*:*:*:*:*:*:*:*","versionStartIncluding":"49.0.0","versionEndExcluding":"49.0.3"}]}]}],"credits":[{"lang":"en","value":"rvolosatovs","type":"finder"},{"lang":"en","value":"alexcrichton","type":"remediation reviewer"}],"x_generator":{"engine":"vulncheck-endgame"}}}}}