Back to CVE records
Medium 6.5Published Jul 8, 2026

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

Updated under an hour ago ()

Does this affect you?

It affects bytecodealliance wasmtime. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
6.5 MEDIUM (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
Weakness (CWE)
CWE-281, CWE-863
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
GitHub_M
NVD analysis
Deferred
Record last updated
Jul 9, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
bytecodealliance wasmtime
bytecodealliance:wasmtime (from the name)
before 24.0.11; from 25.0.0, < 36.0.12; from 37.0.0, < 45.0.3; from 46.0.0, < 46.0.1
CNA record

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.