Security mailing lists by PureSourceCode

CVE-2026-58494

MEDIUM 6.5CVSS 3.1

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

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.

Published
8 Jul 2026
Last modified
25 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-281CWE-863
Also known as
GHSA-4ch3-9j33-3pmjRUSTSEC-2026-0188
Sources
NVDJSONOSV GHSA-4ch3-9j33-3pmjJSONOSV RUSTSEC-2026-0188JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
OSV RustSec CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io wasmtime-wasi < 24.0.11 24.0.11
OSV crates.io wasmtime-wasi >= 25.0.0, < 36.0.12 36.0.12
OSV crates.io wasmtime-wasi >= 37.0.0, < 45.0.3 45.0.3
OSV crates.io wasmtime-wasi >= 46.0.0, < 46.0.1 46.0.1
OSV crates.io wasmtime-wasi >= 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 24.0.11, 36.0.12, 45.0.3, 46.0.1

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 8 Jul 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Jun 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 16 Oct 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.