cve.bz

CVE-2026-58494

6.5 mediumEPSS 0.2%

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.

CVSS 3.1
6.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
EPSS
0.2% chance of exploitation in the next 30 days; higher than 6% of CVEs (scores of 2026-10-25)
CWEs
CWE-281, CWE-863
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-4ch3-9j33-3pmjcrates.iowasmtime-wasi<24.0.1124.0.11
GHSA-4ch3-9j33-3pmjcrates.iowasmtime-wasi>=25.0.0 <36.0.1236.0.12
GHSA-4ch3-9j33-3pmjcrates.iowasmtime-wasi>=37.0.0 <45.0.345.0.3
GHSA-4ch3-9j33-3pmjcrates.iowasmtime-wasi>=46.0.0 <46.0.146.0.1
RUSTSEC-2026-0188crates.iowasmtime-wasi>=0.0.0-0 <24.0.11
>=25.0.0 <36.0.12
>=37.0.0 <45.0.3
>=46.0.0 <46.0.1
24.0.11, 36.0.12, 45.0.3, 46.0.1

References

Check your stackJSON