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 (bytecodealliance wasmtime)

CVE-2026-115392
HIGH 8.8

At a glance

Source
NVD
EPSS
EPSS 0.24 % · percentile 15 ()
State
PUBLISHED
Published
Updated
Assigner
VulnCheck
NVD status
Deferred

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.

Weaknesses (CWE)

  • CWE-61 — UNIX Symbolic Link (Symlink) Following

References

Scores

VersionScoreVectorScored by
CVSS 4.0HIGH 8.8CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:L/SC:H/SI:H/SA:LVulnCheck
CVSS 3.1HIGH 7.9CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:LVulnCheck
CVSS 4.0HIGH 8.8CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XNVD · disclosure@vulncheck.com (Secondary)
CVSS 3.1HIGH 7.9CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:LNVD · disclosure@vulncheck.com (Secondary)

European references

Affected products

ProductVersions
bytecodealliance · wasmtimeaffected 0 < 24.0.13 ; unaffected 24.0.13 ; affected 25.0.0 < 36.0.14 ; unaffected 36.0.14 ; affected 37.0.0 < 46.0.3 ; unaffected 46.0.3

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD