Read the docs
TI-2026-42097 Aliases CVE-2026-58494GHSA-4ch3-9j33-3pmj

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

Priority LOW 28CWE-281Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Security bypass
Confidentiality · integrity · availability
None · High · None
Fix status
Partial Red Hat: 2 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-863.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00171 6th percentileScored 2026-11-07
Fix Partial wasmtime (bytecodealliance): 24.0.11, 36.0.12, 45.0.3 +1wasmtime-wasi (crates.io): 24.0.11, 36.0.12, 45.0.3 +1Red Hat: 2 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
bytecodealliancewasmtimebefore 24.0.11; 25.0.0 to before 36.0.12; 37.0.0 to before 45.0.3; 46.0.0 to before 46.0.124.0.11, 36.0.12, 45.0.3, 46.0.1Patch availableCNA
—wasmtime-wasi (crates.io)before 24.0.1124.0.11Patch availableGHSA-4ch3-9j33-3pmj
—wasmtime-wasi (crates.io)25.0.0 to before 36.0.1236.0.12Patch availableGHSA-4ch3-9j33-3pmj
—wasmtime-wasi (crates.io)37.0.0 to before 45.0.345.0.3Patch availableGHSA-4ch3-9j33-3pmj
—wasmtime-wasi (crates.io)46.0.0 to before 46.0.146.0.1Patch availableGHSA-4ch3-9j33-3pmj
  • wasmtime Vendorbytecodealliance Affected before 24.0.11; 25.0.0 to before 36.0.12; 37.0.0 to before 45.0.3; 46.0.0 to before 46.0.1 Fixed in 24.0.11, 36.0.12, 45.0.3, 46.0.1 Patch available CNA
  • wasmtime-wasi (crates.io) Vendor— Affected before 24.0.11 Fixed in 24.0.11 Patch available GHSA-4ch3-9j33-3pmj
  • wasmtime-wasi (crates.io) Vendor— Affected 25.0.0 to before 36.0.12 Fixed in 36.0.12 Patch available GHSA-4ch3-9j33-3pmj
  • wasmtime-wasi (crates.io) Vendor— Affected 37.0.0 to before 45.0.3 Fixed in 45.0.3 Patch available GHSA-4ch3-9j33-3pmj
  • wasmtime-wasi (crates.io) Vendor— Affected 46.0.0 to before 46.0.1 Fixed in 46.0.1 Patch available GHSA-4ch3-9j33-3pmj

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:bytecodealliance:wasmtime:*:*:*:*:*:*:*:*——bytecodealliance
  • cpe:2.3:a:bytecodealliance:wasmtime:*:*:*:*:*:*:*:* Versions — — ·bytecodealliance

Remediation

  • Fix · CNA wasmtime (bytecodealliance) Fixed in 24.0.11, 36.0.12, 45.0.3, 46.0.1
  • Fix · GHSA-4ch3-9j33-3pmj wasmtime-wasi (crates.io) Fixed in 24.0.11 Advisory →
  • Fix · GHSA-4ch3-9j33-3pmj wasmtime-wasi (crates.io) Fixed in 36.0.12 Advisory →
  • Fix · GHSA-4ch3-9j33-3pmj wasmtime-wasi (crates.io) Fixed in 45.0.3 Advisory →
  • Fix · GHSA-4ch3-9j33-3pmj wasmtime-wasi (crates.io) Fixed in 46.0.1 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Connectivity Link 1AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 10AffectedNo fix yet: Fix deferred
Not affected: 1 product
  • Red Hat Hardened Images

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-58494
  2. 2026-10-18 Alias added: GHSA-4ch3-9j33-3pmj
  3. 2026-10-18 Fix available: crates.io/[email protected], crates.io/[email protected], crates.io/[email protected] +1 · GHSA-4ch3-9j33-3pmj
  4. 2026-10-18 CVSS score added · GHSA-4ch3-9j33-3pmj
  5. 2026-10-18 Weakness changed · GHSA-4ch3-9j33-3pmj
  6. 2026-10-18 13 new references · GHSA-4ch3-9j33-3pmj

References

  • TI-2026-85541 WAMR fast interpreter loader heap overflow via constant deduplication mismatch CVSS 4.0HIGH 8.8
  • TI-2024-16741 An issue in bytecodealliance wasm-micro-runtime before v.b3f728c and fixed in commit… CVSS 3.1HIGH 8.8
  • TI-2024-22658 An out-of-bound memory read vulnerability was discovered in Bytecode Alliance… CVSS 3.1HIGH 7.5
  • TI-2024-18300 wasm-micro-runtime (aka WebAssembly Micro Runtime or WAMR) 06df58f is vulnerable to NULL… CVSS 3.1HIGH 7.5
  • TI-2023-26034 An heap overflow vulnerability was discovered in Bytecode alliance wasm-micro-runtime… CVSS 3.1HIGH 7.5
  • TI-2025-33969 WebAssembly Micro Runtime's `--addr-pool` option allows all IPv4 addresses when subnet mask is not specified CVSS 4.0MEDIUM 6.9
See all 97 →

Sources