Skip to content
OpenAdvisories
High · 7.9 CVE-2026-118688 EUVD-2026-112393GHSA-63fr-xrxj-8wrxGHSA-m9f7-9w4p-gv38RUSTSEC-2026-0352

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

Published Oct 28, 2026 · Updated Nov 4, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
bytecodealliance wasmtime < 36.0.18, 37.0.0 – < 48.0.6, 49.0.0 – < 49.0.3 36.0.18

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rust-wasmtime 36.0.20+dfsg-1 —
Debian 13 rust-wasmtime No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io wasmtime-wasi >= 0.0.0-0, < 36.0.18 · >= 37.0.0, < 48.0.6 · >= 49.0.0, < 49.0.3 36.0.18, 48.0.6, 49.0.3 RUSTSEC-2026-0352

References