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.
{
"sources": [
{
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-58494",
"published": "2026-07-08T21:16:54Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-58494",
"imported": "2026-08-21T20:09:13.758Z",
"id": "CVE-2026-58494",
"database_specific": {
"status": "Deferred"
},
"modified": "2026-07-10T19:10:59.333Z"
},
{
"imported": "2026-08-21T20:09:03.341Z",
"affected": {
"bytecodealliance:wasmtime": [
"25.0.0, < 36.0.12",
"37.0.0, < 45.0.3",
"46.0.0, < 46.0.1",
"< 24.0.11"
]
},
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-42393",
"published": "2026-07-08T20:22:16Z",
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-42393",
"id": "EUVD-2026-42393",
"modified": "2026-07-09T13:28:57Z"
}
],
"license": "CC-BY-4.0"
}