CVE-2026-58494bytecodealliance wasmtime
Medium 6.5
Follow: this CVE · bytecodealliance · bytecodealliance wasmtime We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- —
- Auth required
- Yes
- Published
- Jul 8, 2026
- Updated
- Oct 25, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for wasmtime.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | wasmtime-wasi |
< 24.0.11 |
24.0.11 |
cargo update -p wasmtime-wasi --precise 24.0.11 |
| crates.io | wasmtime-wasi |
≥ 25.0.0 < 36.0.12 |
36.0.12 |
cargo update -p wasmtime-wasi --precise 36.0.12 |
| crates.io | wasmtime-wasi |
≥ 37.0.0 < 45.0.3 |
45.0.3 |
cargo update -p wasmtime-wasi --precise 45.0.3 |
| crates.io | wasmtime-wasi |
≥ 46.0.0 < 46.0.1 |
46.0.1 |
cargo update -p wasmtime-wasi --precise 46.0.1 |
| crates.io | wasmtime-wasi |
≥ 0.0.0-0 < 24.0.11 |
24.0.11 |
cargo update -p wasmtime-wasi --precise 24.0.11 |
| crates.io | wasmtime-wasi |
≥ 25.0.0 < 36.0.12 |
36.0.12 |
cargo update -p wasmtime-wasi --precise 36.0.12 |
| crates.io | wasmtime-wasi |
≥ 37.0.0 < 45.0.3 |
45.0.3 |
cargo update -p wasmtime-wasi --precise 45.0.3 |
| crates.io | wasmtime-wasi |
≥ 46.0.0 < 46.0.1 |
46.0.1 |
cargo update -p wasmtime-wasi --precise 46.0.1 |
Per OSV / GitHub Advisories (GHSA-4ch3-9j33-3pmj, RUSTSEC-2026-0188). Check the version in your lockfile before upgrading.
Affected products
- bytecodealliance · wasmtime
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.