Skip to main content
VulnerabilityPublished

CVE-2026-58494: Rust wasmtime · Wasmtime is a runtime for WebAssembly

Affects rust-wasmtimeSource GCVE Database

0
Authoritative record:CVE-2026-58494· Medium 6.5

Not known to be exploited · CVSS 6.5 Medium : upgrade to 46.0.1 when convenient.

Data as of 26 Oct 2026, 10:12 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 6% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Affects
rust-wasmtime affecting prior to 24.0.11
Patch
Available – fixed in 46.0.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 8 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade wasmtime-wasi to 46.0.1.

Affected software

ProductAffectedFixed in
Ubuntu 24.04 LTSrust-wasmtimepkg:deb/ubuntu/rust-wasmtime?arch=source&distro=nobleOther threatsAffected
  • 10.0.1+dfsg-7 – 16.0.0+dfsg-3
4 affected builds
Fixed in–
Ubuntu 25.10rust-wasmtimepkg:deb/ubuntu/rust-wasmtime?arch=source&distro=questingOther threatsAffected
  • =26.0.1+dfsg-3
Fixed in–
Ubuntu 26.04 LTSrust-wasmtimepkg:deb/ubuntu/rust-wasmtime?arch=source&distro=resoluteOther threatsAffected
  • 26.0.1+dfsg-3 – 36.0.5+dfsg-1
5 affected builds
Fixed in–
crates.iowasmtime-wasiAffected
  • >=46.0.0 <46.0.1
Fixed in
  • 46.0.1
Ubuntu 26.10rust-wasmtimepkg:deb/ubuntu/rust-wasmtime?arch=source&distro=stonkingOther threatsAffected
  • =36.0.5+dfsg-1
  • =36.0.13+dfsg-1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in rust-wasmtime version 46.0.1. Users should upgrade to this version or later to remediate the vulnerability. No additional vendor advisories indicate alternative mitigations or that the issue is already mitigated.

Description

CVE-2026-58494 is a vulnerability in rust-wasmtime affecting versions prior to 24.0.11, 36.0.12, 45.0.3, and 46.0.1. It allows a WASI guest with read-only source file capability to overwrite host files exposed as read-only due to improper permission checks during hard-link creation and renaming. The issue arises because directory permissions are checked but file permissions on source and destination preopens are not properly matched. The vulnerability is fixed in version 46.0.1.

References

Community reviews

Loading reviews…