CVE-2026-58494 json
Wasmtime: WASI hard links bypass wasmtime-wasi's FilePerms for destination
published 2026-06-24 4 mo ago modified 2026-10-25 14 d ago also EUVD-2026-42393 , GHSA-4ch3-9j33-3pmj , JLSEC-2026-1368 , RUSTSEC-2026-0188
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 6%
- public exploits
- 0
- none known
Summary
Wasmtime is a runtime for WebAssembly. Prior to 24.0.11, 36.0.12, 45.0.3, and 46.0.1, wasmtime-wasi hard-link creation and renaming check directory permissions but not matching FilePerms on source and destination preopens, allowing a WASI guest with a read-only source file capability to overwrite host files exposed as FilePerms::READ through wasip1, wasip2, or wasip3 filesystem interfaces. This issue is fixed in versions 24.0.11, 36.0.12, 45.0.3, and 46.0.1.
Patch / fix
- crates.io wasmtime-wasi 24.0.11, 36.0.12, 45.0.3, 46.0.1
- julia Wasmtime_jll 46.0.1+0
- bytecodealliance cranelift-codegen 24.0.11, 36.0.12, 45.0.3, 46.0.1
- rust-wasmtime Debian 14 36.0.12+dfsg-1
debian advisories DEBIAN-CVE-2026-58494
- github.com/bytecodealliance/wasmtime@5ddfd5f commit
- github.com/bytecodealliance/wasmtime@7db94cd commit
- github.com/bytecodealliance/wasmtime@8a250aa commit
- github.com/bytecodealliance/wasmtime@d3ceb56 commit
- github.com/bytecodealliance/wasmtime#13725 pull request
- github.com/bytecodealliance/wasmtime/releases/tag/v24.0.11 release
- github.com/bytecodealliance/wasmtime/releases/tag/v36.0.12 release
- github.com/bytecodealliance/wasmtime/releases/tag/v45.0.3 release
- github.com/bytecodealliance/wasmtime/releases/tag/v46.0.1 release
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-58494 updated cvss 6.5
wasmtime: Wasmtime: Overwrite host files via insufficient permission checks in wasmtime-wasi
-
Red Hat Connectivity Link 1 rhcl-1/wasm-shim-rhel9 Red Hat Enterprise Linux 10 virt-firmware-rs 26.4-1.el10affected: no fix available “Fix deferred”
-
Red Hat Hardened Images rust 1.96.1-1.hum1not affected: component not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 4 mo ago
Exploit prediction
0.17% chance of exploitation in the next 30 days, higher than 6% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N |
| OSV | 3.1 | 6.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | wasmtime-wasi | <24.0.11 >=25.0.0, <36.0.12 >=37.0.0, <45.0.3 >=46.0.0, <46.0.1 >=0.0.0-0, <24.0.11 |
24.0.11 36.0.12 45.0.3 46.0.1 |
| julia | Wasmtime_jll | <46.0.1+0 |
46.0.1+0 |
Affected products
- bytecodealliance wasmtime
Classification
References
-
github.com
/bytecodealliance/wasmtime/commit/5ddfd5f1ef28f2041fa07d237ad0336e167b0e0c
web
-
github.com
/bytecodealliance/wasmtime/commit/7db94cdcf0c79cb3dfde884b534b653f2dd83367
web
-
github.com
/bytecodealliance/wasmtime/commit/8a250aac0962ca1364b5f16525720e9d0b39edcd
web
-
github.com
/bytecodealliance/wasmtime/commit/d3ceb56ec35f39e02496eeb4e2d9c7f4fb964d9e
web
-
github.com
/bytecodealliance/wasmtime/pull/13725
web
-
github.com
/bytecodealliance/wasmtime/security/advisories/GHSA-4ch3-9j33-3pmj
web
-
github.com
/bytecodealliance/wasmtime/releases/tag/v24.0.11
web
-
github.com
/bytecodealliance/wasmtime/releases/tag/v36.0.12
web
-
github.com
/bytecodealliance/wasmtime/releases/tag/v45.0.3
web
-
github.com
/bytecodealliance/wasmtime/releases/tag/v46.0.1
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-58494
advisory
-
github.com
/bytecodealliance/wasmtime
package
-
rustsec.org
/advisories/RUSTSEC-2026-0188.html
web, advisory
-
crates.io
/crates/wasmtime-wasi
package
Sources
- CVE List CVE-2026-58494
- GitHub Advisory GHSA-4ch3-9j33-3pmj
- NVD CVE-2026-58494
- OSV JLSEC-2026-1368
- OSV RUSTSEC-2026-0188
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.