Bug 2498431 - CVE-2026-58494 tree-sitter0.25: Wasmtime: Overwrite host files via insufficient permission checks in wasmtime-wasi [fedora-all]
Summary: CVE-2026-58494 tree-sitter0.25: Wasmtime: Overwrite host files via insufficie...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: tree-sitter0.25
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Peter Oliver
QA Contact:
URL:
Whiteboard: {"flaws": ["bcfbfb6b-3eee-4d90-acf3-a...
Depends On:
Blocks: CVE-2026-58494
TreeView+ depends on / blocked
 
Reported: 2026-07-09 08:55 UTC by Marian Rehak
Modified: 2026-07-09 08:55 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Marian Rehak 2026-07-09 08:55:11 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.


Note You need to log in before you can comment on or make changes to this bug.