Technical impact
The vulnerability re‑appends a trailing slash to rename source paths, causing the macOS and FreeBSD renameat system call to follow directory symlinks. A WASI guest with sandbox write permissions can rename a relative symlink such as "up/" so that host directories are moved into the sandbox, providing the guest read or write access to files outside its intended boundary. This flaw therefore allows an attacker to escape the sandbox and compromise the confidentiality, integrity, or availability of host data.
Affected Systems
Wasmtime before 36.0.18, before 37.0.0 – 48.0.6, and before 49.0.0 – 49.0.3 when running on macOS or FreeBSD hosts. The affected vendor is Bytecode Alliance’s Wasmtime. The vulnerable releases include any version up to 36.0.17, any 37.x and 48.x release prior to 48.0.6, and any 49.x release prior to 49.0.3.
Risk and Exploitability
The CVSS score of 8.8 indicates a high severity. No EPSS score is available, so the exploitation probability cannot be quantified from that metric, and the vulnerability is not listed in CISA KEV. Exploitability requires only a WASI guest with write access in its sandbox; no external network access or system privilege escalation is needed. The flaw arises from improper path handling (CWE‑61), making renaming a relative symlink a powerful technique for gaining unauthorized access to host files.