Skip to main content
← All vulnerabilities
CVE-2026-118688

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
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 36.0.18, 48.0.6, 49.0.3
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • bytecodealliance wasmtime

    fixed in 36.0.18; From 37.0.0 · fixed in 48.0.6; From 49.0.0 · fixed in 49.0.3

References 2

GitHub · bytecodealliance/wasmtime

vulncheck.com