CVE Catalog

CVE-2026-58494

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.12%

2th percentile - higher than 2% of all known CVEs

Summary

Wasmtime is a runtime for WebAssembly. Prior to versions 24.0.11, 36.0.12, 45.0.3, and 46.0.1, the wasmtime-wasi component checked directory permissions but not matching FilePerms on source and destination preopens during hard-link creation and renaming. This allowed a WASI guest with read-only source file capability to overwrite host files exposed as FilePerms::READ through wasip1, wasip2, or wasip3 filesystem interfaces.

Risk Assessment

The organization is at risk of unauthorized overwriting of host files that should be read-only, potentially leading to data integrity breaches and system compromise.

Recommendation

Immediately update Wasmtime to version 24.0.11, 36.0.12, 45.0.3, or 46.0.1, depending on the branch in use, to remediate the vulnerability.

Other vulnerabilities in Wasmtime

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS