THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-4ch3-9j33-3pmj (medium) — Wasmtime: WASI hard links bypass wasmtime-wasi's FilePerms for destination

[GHSA] GHSA-4ch3-9j33-3pmj (medium) — Wasmtime: WASI hard links bypass wasmtime-wasi's FilePerms for destination

medgithub_advisoriesPublished 2026-10-16

GHSA-4ch3-9j33-3pmj Severity: medium CVE: CVE-2026-58494

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

## Summary

Wasmtime's WASI filesystem implementation lets a guest with a read-only source file capability overwrite that file by hard-linking it into another preopen that allows file writes. An attacker who can run a WASI guest can bypass `WasiCtxBuilder` per-preop

Indicators of compromise

Original source: https://github.com/advisories/GHSA-4ch3-9j33-3pmj