Skip to main content
No exploitation reportedFix available

CVE-2026-47261

No exploitation reported by the sources we read.

  • Published2026-06-15
  • Fixed in45.0.0 · 44.0.2 · 36.0.10 · 24.0.9
  • WeaknessCWE-284

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-06-1521:17CVE publishedNVD

Versions per branch

OSV · NVD
Bytecodealliance wasmtime
BranchAffectedFixed in
45.0≥ 45.0.0, < 45.0.045.0.0
44.0≥ 37.0.0, < 44.0.244.0.2
36.0≥ 25.0.0, < 36.0.1036.0.10
24.0< 24.0.924.0.9
24.0≥ 0.0.0-0, < 24.0.924.0.9

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • bytecodealliance wasmtime
    Affected
    • = >= 37.0.0, < 44.0.2no fix stated
    • = >= 25.0.0, < 36.0.10no fix stated
    • = < 24.0.9no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-06-15

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • rust-wasmtimeUbuntu:26.10all versions · no fixed version listed
  • rust-wasmtimeUbuntu:26.04:LTSall versions · no fixed version listed
  • rust-wasmtimeUbuntu:25.10all versions · no fixed version listed
  • rust-wasmtimeUbuntu:24.04:LTSall versions · no fixed version listed
  • rust-wasmtimeDebian:14all versions · fixed in 36.0.11+dfsg-1
  • rust-wasmtimeDebian:13all versions · no fixed version listed
  • wizerWolfiall versions · fixed in 11.0.3-r12
  • wizerChainguardall versions · fixed in 11.0.3-r12

2 more package ranges on OSV.dev

Vendor advisories

  • CVE-2026-47261 Red Hat Product Security2 known affected

    wasmtime-wasi: Wasmtime: Wasmtime: Access control bypass allows unauthorized file truncation via specific open flags.

    rhcl-1/wasm-shim-rhel9 as a component of Red Hat Connectivity Link 1 · virt-firmware-rs.src as a component of Red Hat Enterprise Linux 10

Full record on NVD

Fix

  1. Update Bytecodealliance wasmtime to 45.0.0 · 44.0.2 · 36.0.10 · 24.0.9
  2. Workaround from the vendor Red Hat Product Security CVE-2026-47261 · 2 productsTo mitigate this issue, ensure that `wasmtime-wasi` embeddings are not configured with a combination of `DirPerms::MUTATE` and `FilePerms::READ` for filesystem preopens. Review `WasiCtxBuilder` configurations to avoid this vulnerable permission combination, which allows an attacker to bypass access…
  3. No fix available, says the vendor Red Hat Product Security CVE-2026-47261 · 2 productsFix deferred

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVE recordread 2026-10-26
  • CISA-ADPSSVC decisionnone2026-06-16
  • CNACVSS 3.17.5known since 2026-10-26
  • CNAweakness (CWE)CWE-284known since 2026-10-26
  • FIRST EPSSEPSS score0.4 %2026-12-03
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryHigh2026-06-05

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Published
2026-06-15
Last modified
2026-10-25
NVD status
Analyzed
GitHub advisory
GHSA-2r75-cxrj-cmph

Frequently asked questions

What is CVE-2026-47261?

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.

Is CVE-2026-47261 actively exploited?

Active exploitation of CVE-2026-47261 has not been confirmed. Its EPSS score was 0.4% on 2026-12-03, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-47261?

CVE-2026-47261 has a CVSS v3 base score of 7.5 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.

Running wasmtime-wasi? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record