ADVISORIES

Red Hat VEX

RHVEX-CVE-2026-58494

wasmtime: Wasmtime: Overwrite host files via insufficient permission checks in wasmtime-wasi

Moderate No fix available CVE-2026-58494

Details

A flaw was found in Wasmtime, a runtime for WebAssembly. A WebAssembly System Interface (WASI) guest with a read-only source file capability can exploit this vulnerability. During hard-link creation and renaming operations, the system checks directory permissions but fails to match file permissions on source and destination preopens. This allows the guest to overwrite host files exposed with read permissions through WASI filesystem interfaces.

Affected packages

EcosystemPackageAffected versions
Red Hat:enterprise_linux:10virt-firmware-rs
All versions, no fix (fix deferred)

References