Skip to main content
VulnerabilityPublished

CVE-2026-58494: bytecodealliance wasmtime · Improper Preservation of Permissions

Affects bytecodealliance wasmtimeSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 6.5 Medium · fixed in 46.0.1 : update bytecodealliance wasmtime when convenient.

Data as of 20 Nov 2026, 17:35 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.
Patch
Available – fixed in 46.0.1, 45.0.3, 36.0.12 +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. Weaponized: 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 20 Nov 2026.

What to do

Upgrade wasmtime and bytecodealliance/wasmtime to 46.0.1, 45.0.3, 36.0.12 or 24.0.11.

Affected software

ProductAffectedFixed in
bytecodealliancewasmtimeAffected
  • >=46.0.0 <46.0.1
Fixed in
  • 46.0.1
bytecodealliancewasmtimeAffected
  • >=37.0.0 <45.0.3
Fixed in
  • 45.0.3
bytecodealliancewasmtimeAffected
  • >=25.0.0 <36.0.12
Fixed in
  • 36.0.12
bytecodealliancewasmtimeAffected
  • <24.0.11
Fixed in
  • 24.0.11
GitHubbytecodealliance/wasmtimepkg:github/bytecodealliance/wasmtimeOther threatsAffected
  • <24.0.11
  • >=24.0.0 <36.0.12
  • >=36.0.0 <45.0.3
  • >=45.0.0 <46.0.1
Fixed in
  • 24.0.11
  • 36.0.12
  • 45.0.3
  • 46.0.1

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

AI-suggested

Fixed versions 24.0.11, 36.0.12, 45.0.3, and 46.0.1 are available and should be applied to remediate this vulnerability. Since the vendor advisory indicates these versions fix the issue, upgrading to these or later versions is the recommended mitigation. Patch status is confirmed by the version fixes stated in the description. No additional vendor advisory content is provided.

Description

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.

References

Community reviews

Loading reviews…