CVE-2026-58494
Published:July 08, 2026
Updated:August 04, 2026
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.
Affected Packages
https://github.com/bytecodealliance/wasmtime.git (GITHUB):
Affected version(s) >=v0.2.0 <v24.0.11Fix Suggestion:
Update to version v24.0.11https://github.com/bytecodealliance/wasmtime.git (GITHUB):
Affected version(s) >=v25.0.0 <v36.0.12Fix Suggestion:
Update to version v36.0.12https://github.com/bytecodealliance/wasmtime.git (GITHUB):
Affected version(s) =v46.0.0 <v46.0.1Fix Suggestion:
Update to version v46.0.1https://github.com/bytecodealliance/wasmtime.git (GITHUB):
Affected version(s) >=v37.0.0 <v45.0.3Fix Suggestion:
Update to version v45.0.3wasmtime-wasi (RUST):
Affected version(s) >=0.2.0 <24.0.11Fix Suggestion:
Update to version 24.0.11wasmtime-wasi (RUST):
Affected version(s) >=25.0.0 <36.0.12Fix Suggestion:
Update to version 36.0.12wasmtime-wasi (RUST):
Affected version(s) =46.0.0 <46.0.1Fix Suggestion:
Update to version 46.0.1wasmtime-wasi (RUST):
Affected version(s) >=37.0.0 <45.0.3Fix Suggestion:
Update to version 45.0.3Related Resources (13)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.2
Attack Vector
LOCAL
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
HIGH
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.5
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
CHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
EPSS
Base Score:
0.12