JLSEC-2026-2447: wasmtime-wasi in Wasmtime before 36.0.18, 37.0.0 before 48.0.6, and 49.0.0 before 49.0.3 re...
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 Software
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Which deployments are exposed to this issue?
The issue affects wasmtime-wasi on macOS and FreeBSD hosts in the listed vulnerable Wasmtime version ranges. Exploitation requires a guest that has sandbox write access.
What does an attacker need to do to exploit it?
A guest must be able to create or use a relative directory symlink, such as "up/", and invoke a rename operation. The vulnerable handling can cause the host renameat call to follow the directory symlink.
What is the impact if exploitation succeeds?
The guest can move host directories into its sandbox and then read from or write to those directories. The vulnerability can affect confidentiality and integrity, with limited availability impact.