CVE-2026-115392

Wasmtime before 24.0.13, 25.0.0 before 36.0.14, 37.0.0 before 46.0.3, and 47.0.0 before 47.0.4 Sandbox Escape via Trailing Slashes

Published Oct 22, 2026 CVSS 4.0 · 8.8 High EPSS < 1% KEV · Not listed
Description
Wasmtime before 24.0.13, 25.0.0 before 36.0.14, 37.0.0 before 46.0.3, and 47.0.0 before 47.0.4 allows a filesystem sandbox escape in wasmtime-wasi because its cap-std dependency mishandles symlinks with trailing slashes on macOS and Linux kernels lacking openat2. A guest with write access to any sandboxed directory can read and write any host-accessible file, and read-only guests may read host files via preexisting symlinks.

Analysis

AI-generated

Technical impact

The vulnerability is a filesystem sandbox escape that occurs when Wasmtime’s cap-std dependency incorrectly handles symbolic links that include trailing slashes on macOS and Linux kernels that do not support the openat2 system call. An attacker running a WebAssembly module under wasmtime-wasi can read or write any file on the host filesystem if the module has write access to a sandboxed directory, and even read-only modules can read host files through preexisting symlinks. This flaw is identified as CWE-61 and permits a compromise that extends beyond the intended sandbox boundaries.

Affected Systems

Bytecode Alliance’s Wasmtime is affected. All releases before 24.0.13, 25.0.0 before 36.0.14, 37.0.0 before 46.0.3, and 47.0.0 before 47.0.4 are vulnerable when running on macOS or Linux kernels lacking openat2 support. Users deploying these versions in environments where WebAssembly guests have write permissions in the sandboxed directories are at risk.

Risk and Exploitability

The CVSS base score is 8.8, which classifies the vulnerability as High severity. The EPSS score is not available, but the lack of a listing in the CISA KEV catalog suggests no publicly known exploitation at this time. However, the attack path requires the ability to supply or execute a malicious Wasmtime-wasi guest; once that is achieved, the exploit can occur locally with no additional network interaction. Because the flaw allows host file access, the risk remains significant, and organizations should act promptly to remediate.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Wasmtime to a version that includes the sandbox escape fix (24.0.13 or newer, 36.0.14 or newer, 46.0.3 or newer, or 47.0.4 or newer).
  • Limit sandboxed directory write privileges on the host to only those services that truly need them, and avoid granting write access to guest applications when possible.
  • Apply host-level confinement controls such as SELinux, AppArmor, or CGroup restrictions to further isolate Wasmtime processes and prevent unauthorized file access.

Generated by OpenCVE AI on October 23, 2026 at 03:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Wasmtime before 24.0.13, 25.0.0 before 36.0.14, 37.0.0 before 46.0.3, and 47.0.0 before 47.0.4 allows a filesystem sandbox escape in wasmtime-wasi because its cap-std dependency mishandles symlinks with trailing slashes on macOS and Linux kernels lacking openat2. A guest with write access to any sandboxed directory can read and write any host-accessible file, and read-only guests may read host files via preexisting symlinks.
Title Wasmtime before 24.0.13, 25.0.0 before 36.0.14, 37.0.0 before 46.0.3, and 47.0.0 before 47.0.4 Sandbox Escape via Trailing Slashes
First Time appeared Bytecodealliance
Bytecodealliance wasmtime
Weaknesses CWE-61
CPEs cpe:2.3:a:bytecodealliance:wasmtime:*:*:*:*:*:*:*:*
Vendors & Products Bytecodealliance
Bytecodealliance wasmtime
References
Metrics cvssV3_1

{'score': 7.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:L'}

cvssV4_0

{'score': 8.8, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L'}

Weaknesses
  • CWE-61

    UNIX Symbolic Link (Symlink) Following

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 29, 2026, 2:32 AM
Reserved
Oct 22, 2026, 11:27 AM
Status
Deferred
Published
Oct 22, 2026, 7:17 PM
Modified
Oct 29, 2026, 4:18 AM