CVE Explorer
CVE-2026-58494
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-863","description":"CWE-863: Incorrect Authorization","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:64da18dea64c323ef01e1d720f6053021206b49a4121135ebadf9aeeac9edb59 · sha256:d1bd5159a21f29fc… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-281","description":"CWE-281: Improper Preservation of Permissions","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:64da18dea64c323ef01e1d720f6053021206b49a4121135ebadf9aeeac9edb59 · sha256:d1bd5159a21f29fc… · /containers/cna/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"product":"wasmtime","vendor":"bytecodealliance","versions":[{"status":"affected","version":"< 24.0.11"},{"status":"affected","version":">= 25.0.0, < 36.0.12"},{"status":"affected","version":">= 37.0.0, < 45.0.3"},{"status":"affected","version":">= 46.0.0, < 46.0.1"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:64da18dea64c323ef01e1d720f6053021206b49a4121135ebadf9aeeac9edb59 · sha256:d1bd5159a21f29fc… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:64da18dea64c323ef01e1d720f6053021206b49a4121135ebadf9aeeac9edb59 · sha256:d1bd5159a21f29fc… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-863","description":"CWE-863: Incorrect Authorization","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:64da18dea64c323ef01e1d720f6053021206b49a4121135ebadf9aeeac9edb59 · sha256:d1bd5159a21f29fc… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-281","description":"CWE-281: Improper Preservation of Permissions","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:64da18dea64c323ef01e1d720f6053021206b49a4121135ebadf9aeeac9edb59 · sha256:d1bd5159a21f29fc… · /containers/cna/problemTypes/0/descriptions/0
Source references
9 source assertions{"name":"https://github.com/bytecodealliance/wasmtime/commit/5ddfd5f1ef28f2041fa07d237ad0336e167b0e0c","tags":["x_refsource_MISC"],"url":"https://github.com/bytecodealliance/wasmtime/commit/5ddfd5f1ef28f2041fa07d237ad0336e167b0e0c"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:64da18dea64c323ef01e1d720f6053021206b49a4121135ebadf9aeeac9edb59 · sha256:d1bd5159a21f29fc… · /containers/cna/references/1
{"name":"https://github.com/bytecodealliance/wasmtime/commit/7db94cdcf0c79cb3dfde884b534b653f2dd83367","tags":["x_refsource_MISC"],"url":"https://github.com/bytecodealliance/wasmtime/commit/7db94cdcf0c79cb3dfde884b534b653f2dd83367"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:64da18dea64c323ef01e1d720f6053021206b49a4121135ebadf9aeeac9edb59 · sha256:d1bd5159a21f29fc… · /containers/cna/references/2
{"name":"https://github.com/bytecodealliance/wasmtime/commit/8a250aac0962ca1364b5f16525720e9d0b39edcd","tags":["x_refsource_MISC"],"url":"https://github.com/bytecodealliance/wasmtime/commit/8a250aac0962ca1364b5f16525720e9d0b39edcd"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:64da18dea64c323ef01e1d720f6053021206b49a4121135ebadf9aeeac9edb59 · sha256:d1bd5159a21f29fc… · /containers/cna/references/3
{"name":"https://github.com/bytecodealliance/wasmtime/commit/d3ceb56ec35f39e02496eeb4e2d9c7f4fb964d9e","tags":["x_refsource_MISC"],"url":"https://github.com/bytecodealliance/wasmtime/commit/d3ceb56ec35f39e02496eeb4e2d9c7f4fb964d9e"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:64da18dea64c323ef01e1d720f6053021206b49a4121135ebadf9aeeac9edb59 · sha256:d1bd5159a21f29fc… · /containers/cna/references/4
{"name":"https://github.com/bytecodealliance/wasmtime/releases/tag/v24.0.11","tags":["x_refsource_MISC"],"url":"https://github.com/bytecodealliance/wasmtime/releases/tag/v24.0.11"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:64da18dea64c323ef01e1d720f6053021206b49a4121135ebadf9aeeac9edb59 · sha256:d1bd5159a21f29fc… · /containers/cna/references/5
{"name":"https://github.com/bytecodealliance/wasmtime/releases/tag/v36.0.12","tags":["x_refsource_MISC"],"url":"https://github.com/bytecodealliance/wasmtime/releases/tag/v36.0.12"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:64da18dea64c323ef01e1d720f6053021206b49a4121135ebadf9aeeac9edb59 · sha256:d1bd5159a21f29fc… · /containers/cna/references/6
{"name":"https://github.com/bytecodealliance/wasmtime/releases/tag/v45.0.3","tags":["x_refsource_MISC"],"url":"https://github.com/bytecodealliance/wasmtime/releases/tag/v45.0.3"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:64da18dea64c323ef01e1d720f6053021206b49a4121135ebadf9aeeac9edb59 · sha256:d1bd5159a21f29fc… · /containers/cna/references/7
{"name":"https://github.com/bytecodealliance/wasmtime/releases/tag/v46.0.1","tags":["x_refsource_MISC"],"url":"https://github.com/bytecodealliance/wasmtime/releases/tag/v46.0.1"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:64da18dea64c323ef01e1d720f6053021206b49a4121135ebadf9aeeac9edb59 · sha256:d1bd5159a21f29fc… · /containers/cna/references/8
{"name":"https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-4ch3-9j33-3pmj","tags":["x_refsource_CONFIRM"],"url":"https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-4ch3-9j33-3pmj"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:64da18dea64c323ef01e1d720f6053021206b49a4121135ebadf9aeeac9edb59 · sha256:d1bd5159a21f29fc… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.