{"cve":"CVE-2026-58494","nvd":{"published":"2026-07-08T21:16:54.000","modified":"2026-10-25T17:10:00.197","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","score":6.5},"cwes":["CWE-281","CWE-863"],"references":["https://github.com/bytecodealliance/wasmtime/commit/5ddfd5f1ef28f2041fa07d237ad0336e167b0e0c","https://github.com/bytecodealliance/wasmtime/commit/7db94cdcf0c79cb3dfde884b534b653f2dd83367","https://github.com/bytecodealliance/wasmtime/commit/8a250aac0962ca1364b5f16525720e9d0b39edcd","https://github.com/bytecodealliance/wasmtime/commit/d3ceb56ec35f39e02496eeb4e2d9c7f4fb964d9e","https://github.com/bytecodealliance/wasmtime/releases/tag/v24.0.11"],"products":[],"source":"nvd","synced_at":"2026-10-25T17:50:06.907763985+00:00"},"epss":{"cve":"CVE-2026-58494","score":0.00171,"percentile":0.06442,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-4ch3-9j33-3pmj","url":"https://osv.dev/vulnerability/GHSA-4ch3-9j33-3pmj","summary":"Wasmtime: WASI hard links bypass wasmtime-wasi's FilePerms for destination","modified":"2026-10-16T20:15:03.597563841Z","packages":[{"ecosystem":"crates.io","name":"wasmtime-wasi","purl":"pkg:cargo/wasmtime-wasi","ranges":["<24.0.11"],"fixed":["24.0.11"]},{"ecosystem":"crates.io","name":"wasmtime-wasi","purl":"pkg:cargo/wasmtime-wasi","ranges":[">=25.0.0 <36.0.12"],"fixed":["36.0.12"]},{"ecosystem":"crates.io","name":"wasmtime-wasi","purl":"pkg:cargo/wasmtime-wasi","ranges":[">=37.0.0 <45.0.3"],"fixed":["45.0.3"]},{"ecosystem":"crates.io","name":"wasmtime-wasi","purl":"pkg:cargo/wasmtime-wasi","ranges":[">=46.0.0 <46.0.1"],"fixed":["46.0.1"]}]},{"id":"RUSTSEC-2026-0188","url":"https://osv.dev/vulnerability/RUSTSEC-2026-0188","summary":"WASI hard links and renames bypass wasmtime-wasi's FilePerms for destination","modified":"2026-10-12T18:00:14.307573024Z","packages":[{"ecosystem":"crates.io","name":"wasmtime-wasi","purl":"pkg:cargo/wasmtime-wasi","ranges":[">=0.0.0-0 <24.0.11",">=25.0.0 <36.0.12",">=37.0.0 <45.0.3",">=46.0.0 <46.0.1"],"fixed":["24.0.11","36.0.12","45.0.3","46.0.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}