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?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « 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- 2026-06-1521:17CVE publishedNVD
Versions per branch
OSV · NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 45.0 | ≥ 45.0.0, < 45.0.0 | 45.0.0 | OSV |
| 44.0 | ≥ 37.0.0, < 44.0.2 | 44.0.2 | NVD · OSV |
| 36.0 | ≥ 25.0.0, < 36.0.10 | 36.0.10 | NVD · OSV |
| 24.0 | < 24.0.9 | 24.0.9 | NVD · OSV |
| 24.0 | ≥ 0.0.0-0, < 24.0.9 | 24.0.9 | OSV |
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 wasmtimeAffected
- = >= 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
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
Fix
- Update Bytecodealliance wasmtime to 45.0.0 · 44.0.2 · 36.0.10 · 24.0.9
- 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…
- No fix available, says the vendor Red Hat Product Security CVE-2026-47261 · 2 productsFix deferred
Advisories and patches
- github.comRelease Notes
- github.comRelease Notes
- github.comRelease Notes
- github.comRelease Notes
- github.comMitigation · Vendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-12-03
- 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
- CGA-6cxm-2wv3-2vh5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-mfw4-crh8-xmm8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-p4c3-5mp8-7qqwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-xpvc-vq87-c5fxsame flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2026-37001same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-2r75-cxrj-cmphsame flawGitHub Advisory Database · CC-BY-4.0
- JLSEC-2026-1366same flawJulia Security Advisories · CC-BY-4.0
- RUSTSEC-2026-0149same flawRustSec · CC0-1.0
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?
Is CVE-2026-47261 actively exploited?
What is the CVSS score for CVE-2026-47261?
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
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2020-25574same product
- CVE-2023-43669same product
- CVE-2019-25009same product
- CVE-2021-29937same product
- CVE-2025-4432same product
- CVE-2026-115893same productWasmtime: Cranelift backend on aarch64 can jump to incorrect target on large Wasm `br_table` instruction
- CVE-2024-51745same product
- CVE-2026-115889same productWasmtime: Bit-packing in Cranelift compiler causes silent overflow and miscompilation
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-2r75-cxrj-cmph
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0