CVE-2026-58494
Fixed in a distro release EPSS <1%CVSS 6.5
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.
Products: bytecodealliance wasmtime
Fixed upstream
| Ecosystem | Package | Fixed in |
|---|---|---|
| crates.io | wasmtime-wasi | 24.0.11 |
| crates.io | wasmtime-wasi | 36.0.12 |
| crates.io | wasmtime-wasi | 45.0.3 |
| crates.io | wasmtime-wasi | 46.0.1 |
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Chainguard | wizer | 11.0.3-r20 |
| Debian 13 | rust-wasmtime | no fix |
| Debian 14 | rust-wasmtime | 36.0.12+dfsg-1 |
| Ubuntu 24.04 LTS | rust-wasmtime | no fix |
| Ubuntu 25.10 | rust-wasmtime | no fix |
| Ubuntu 26.04 LTS | rust-wasmtime | no fix |
| Ubuntu 26.10 | rust-wasmtime | no fix |
| Wolfi | wizer | 11.0.3-r20 |