7.5

CVE-2026-47261: Wasmtime: WASI path_open(TRUNCATE) bypasses `FilePerms::WRITE` host restriction

Analyzed
AliasesUBUNTU-CVE-2026-47261DEBIAN-CVE-2026-47261CGA-6cxm-2wv3-2vh5
Published 15-06-2026Last modified 16-06-2026

Vulnerability summary

CVE-2026-47261 is a high (CVSS 7.5) Improper Access Control vulnerability in bytecodealliance wasmtime. EPSS estimates a 0.36% chance of exploitation in the next 30 days, higher than 31.4% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
0.36%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 15-06-2026
    PublishedVulnerability first disclosed.
  2. 16-06-2026
    Last modifiedVulnerability information updated.

Description

Wasmtime is a runtime for WebAssembly. In versions prior to 24.0.9, 36.0.10, and 44.0.2, when a filesystem preopen is given DirPerms::all() and FilePerms::READ without FilePerms::WRITE, this access control mechanism can be bypassed via the wasip2 descriptor.open-at or wasip1 path_open interfaces by opening a file with only the OpenFlags::TRUNCATE oflag. The root cause is that the clause handling OpenFlags::TRUNCATE in crates/wasi/src/filesystem.rs (Dir::open_at, lines 967–969) did not set open_mode |= OpenMode::WRITE;, which is later used for the access control check against FilePerms to determine whether opening the file is permitted; the single-line fix adds that missing assignment, after which the affected calls correctly fail with error-code.not-permitted and ERRNO_PERM respectively. Only wasmtime-wasi embeddings that combine DirPerms::MUTATE with FilePerms::READ are affected by this bug. In particular, the Wasmtime project's wasmtime-cli's use of wasmtime-wasi is not affected, because it always sets FilePerms::all() for all preopens. This issue has been fixed in versions 24.0.9, 36.0.10 and44.0.2.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.36%

Chance of exploitation in the next 30 days

Percentile

31%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.36% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard2 products
  • wizer< 11.0.3-r12
  • zed< 1.5.4-r1
Wolfi2 products
  • wizer< 11.0.3-r12
  • zed< 1.5.4-r1
Bytecodealliance1 product
  • wasmtime< 24.0.9 | ≥ 25.0.0, < 36.0.10 | ≥ 37.0.0, < 44.0.2
Crates.Io1 product
  • wasmtime-wasi≥ 37.0.0, < 44.0.2 | ≥ 25.0.0, < 36.0.10 | < 24.0.9 | ≥ 45.0.0, < 45.0.0
Debian1 product
  • rust-wasmtimeAll versions (No fix recorded) | < 36.0.11+dfsg-1
Ubuntu1 product
  • rust-wasmtimeAll versions (No fix recorded)

6 vendors · 8 products

References

14 links
Show all 14 references