ADVISORIES

Vulnerability

CVE-2026-58494

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.

7 advisories report this vulnerability, across 6 ecosystems.

Advisories

  • CGA-p2r4-3mxf-rm22
    CVE-2026-58494 ChainguardWolfi Updated 5 November 2026
  • CGA-r367-h43w-c552
    CVE-2026-58494 ChainguardWolfi Updated 5 November 2026
  • DEBIAN-CVE-2026-58494

    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…

    CVE-2026-58494 Debian Updated 26 October 2026
  • GHSA-4ch3-9j33-3pmj

    Wasmtime: WASI hard links bypass wasmtime-wasi's FilePerms for destination

    Moderate CVE-2026-58494 crates.io Updated 16 October 2026
  • RHVEX-CVE-2026-58494

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

    Moderate CVE-2026-58494 Red Hat Updated 5 November 2026
  • RUSTSEC-2026-0188

    WASI hard links and renames bypass wasmtime-wasi's FilePerms for destination

    CVE-2026-58494 crates.io Updated 12 October 2026
  • UBUNTU-CVE-2026-58494

    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…

    CVE-2026-58494 Ubuntu Updated 17 October 2026

References