Improper access control in Wasmtime - CVE-2026-47261

 

Improper access control in Wasmtime - CVE-2026-47261

Published: May 22, 2026


Vulnerability identifier: #VU132132
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-47261
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to modify file contents despite configured write restrictions.

The vulnerability exists due to improper access control in Dir::open_at when handling path_open or descriptor.open-at requests with the OpenFlags::TRUNCATE flag. A remote attacker can open a file with the truncate flag but without write permissions to modify file contents despite configured write restrictions.

Only embeddings that grant directory mutation permissions while restricting file permissions to read-only are affected.


Affected software

Wasmtime

How to mitigate CVE-2026-47261

Install security update from vendor's website.

Wasmtime - addressed in versions 24.0.9, 36.0.10, 44.0.2, 45.0.0

External References

Related Security Bulletins