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.
Published: 2026-10-22
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Filesystem Sandbox Escape (unauthorized file read/write)
Action: Immediate Patch
AI Analysis

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.

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

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 yet.

History

Fri, 23 Oct 2026 00:45:00 +0000

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'}


Subscriptions

Bytecodealliance Wasmtime
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-22T19:13:58.512Z

Reserved: 2026-10-22T11:27:18.001Z

Link: CVE-2026-115392

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-22T19:17:46.863

Modified: 2026-10-22T19:17:46.983

Link: CVE-2026-115392

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T04:00:11Z

Weaknesses
  • CWE-61

    UNIX Symbolic Link (Symlink) Following