SB2026080105 - Improper Preservation of Permissions in Wasmtime



SB2026080105 - Improper Preservation of Permissions in Wasmtime

Published: August 1, 2026

Security Bulletin ID SB2026080105
CSH Severity
Low
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Local access
Highest impact Data manipulation

Breakdown by Severity

Low 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 vulnerability.


1) Improper Preservation of Permissions (CVE-ID: CVE-2026-58494)

CWE-ID: CWE-281 - Improper preservation of permissions

CVSSv4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows a local user to modify host files exposed as read-only.

The vulnerability exists due to improper preservation of permissions in wasmtime-wasi WASI filesystem hard link and rename operations when creating a hard link or renaming a hard link across preopens with different file permissions. A local user can create or move a hard link into a writable preopen and open it for writing to modify host files exposed as read-only.

Only embeddings that use a combination of DirPerms::MUTATE with FilePerms::READ and a second preopen with higher file permissions are vulnerable. The issue affects the wasip1, wasip2, and wasip3 filesystem interfaces.


Remediation

Install update from vendor's website.