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 Oct 28, 2026
·
Updated

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

1 affected component
Wasmtime wasmtime-wasi<36.0.18, >=37.0.0<48.0.6, >=49.0.0<49.0.3

Event History

Oct 28, 2026
CVE Published
via MITRE·06:59 PM
Data Sourced
via MITRE·06:59 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this issue?

The issue affects wasmtime-wasi on macOS and FreeBSD hosts when running versions before 36.0.18, versions 37.0.0 through before 48.0.6, or versions 49.0.0 through before 49.0.3. The vulnerable behavior involves rename operations that follow directory symlinks on those host platforms.

2

What access does an attacker need?

An attacker must be able to run a guest that has sandbox write access and can perform the relevant rename operation. User interaction is also required according to the supplied severity vector.

3

What could a successful exploit allow?

A guest can rename a relative symlink such as "up/" in a way that moves host directories into its sandbox. This can permit reading from or writing to those host directories.

4

How can I remediate the issue?

Upgrade to Wasmtime 36.0.18, 48.0.6, or 49.0.3 or later, as applicable to the release line in use.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203