---
id: CVE-2026-115392
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
summary: >-
  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 Linu…
severity: high
cvss: 7.9
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:L'
cvssSource: cna
cwe:
  - CWE-61
vendor: bytecodealliance
product: wasmtime
affected:
  - wasmtime < 24.0.13
  - wasmtime >= 25.0.0 < 36.0.14
  - wasmtime >= 37.0.0 < 46.0.3
  - wasmtime >= 47.0.0 < 47.0.4
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-29T02:31:46.927757Z'
published: '2026-10-22'
updated: '2026-10-29'
sourceUpdated: '2026-10-29T02:32:06.275Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-115392'
references:
  - url: >-
      https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-vqjp-4c8c-hfgg
    label: GitHub Security Advisory (GHSA-vqjp-4c8c-hfgg)
  - url: >-
      https://www.vulncheck.com/advisories/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
    label: >-
      VulnCheck Advisory: 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
  - url: 'https://crates.io/crates/wasmtime'
  - url: 'https://rustsec.org/advisories/RUSTSEC-2026-0269.html'
  - url: 'https://github.com/bytecodealliance/wasmtime/pull/14182'
tags:
  - cve.org
  - osv
  - rust
epss: 0.00242
epssPercentile: 0.15423
aliases:
  - RUSTSEC-2026-0269
  - GHSA-vqjp-4c8c-hfgg
ecosystem: rust
patched:
  - wasmtime 47.0.4
ingestedAt: '2026-10-22T22:00:50.409Z'
---

## Overview

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.

## Affected

- `wasmtime < 24.0.13`
- `wasmtime >= 25.0.0 < 36.0.14`
- `wasmtime >= 37.0.0 < 46.0.3`
- `wasmtime >= 47.0.0 < 47.0.4`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-115392)

Affected packages:

- `wasmtime >= 47.0.0, < 47.0.4`

Patched in:

- `wasmtime 47.0.4`

Source: https://osv.dev/vulnerability/RUSTSEC-2026-0269
