Loading...
Skip to main content

CVE-2026-58494 — Vulnerability in wasmtime-wasi — CVE Details

MEDIUM

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

Published June 24, 2026Updated July 13, 2026Source: osv

Summary

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-4ch3-9j33-3pmj For more information see the GitHub-hosted security advisory.

Advisory Timeline

  • First published June 24, 2026 (110 days ago).
  • Last revised July 13, 2026 — 19 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Cargo
Update wasmtime-wasi to 24.0.11 or later
cargo update -p wasmtime-wasi --precise 24.0.11

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: crates.io (1).

PackageEcosystemAffectedFixed In
wasmtime-wasi
crates.io
All versions24.0.11, 36.0.12, 45.0.3 (+1 more)

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 6.5 score means for each attack dimension.

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
None
Integrity
High
Availability
None

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N

Frequently Asked Questions

What is CVE-2026-58494?
WASI hard links and renames bypass wasmtime-wasi's FilePerms for destination This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 6.5/10).
How do I check if my project is affected by CVE-2026-58494?
CVE-2026-58494 affects wasmtime-wasi. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-58494 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
6.5

Exploitation requires specific conditions or has limited impact. Remediate within weeks.

Also Known As

RUSTSEC-2026-0188
GHSA-4ch3-9j33-3pmj

Related CVEs

  • CVE-2026-47261
    HIGH

    WASI path_open(TRUNCATE) bypasses `FilePerms::WRITE` host restriction

  • CVE-2026-47261
    HIGH

    wasmtime-wasi: WASI path_open(TRUNCATE) bypasses `FilePerms::WRITE` host restriction

  • CVE-2026-102821
    MEDIUM

    Russh: Unbounded memory exhaustion via CHANNEL_OPEN flood during a client-stalled rekey

  • CVE-2026-102820
    MEDIUM

    pageant: Out-of-bounds read / oversized allocation in `pageant` MemoryMap::read via a malicious Pageant agent (Windows)

  • CVE-2026-54786
    LOW

    Wasmtime has a leak in WASIp1 `fd_renumber` implementation

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies