Bug 2526724 - CVE-2026-73653 forgejo: Vitest: Browser Mode provider commands bypass the file-access permission gate [fedora-all]
Summary: CVE-2026-73653 forgejo: Vitest: Browser Mode provider commands bypass the fil...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: forgejo
Version: rawhide
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
Assignee: Fedora Infrastructure SIG
QA Contact:
URL:
Whiteboard: {"flaws": ["085598ad-582d-4f81-aa33-7...
Depends On:
Blocks: CVE-2026-73653
TreeView+ depends on / blocked
 
Reported: 2026-09-01 10:04 UTC by Marian Rehak
Modified: 2026-09-01 10:04 UTC (History)
5 users (show)

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


Attachments (Terms of Use)

Description Marian Rehak 2026-09-01 10:04:09 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.

Vitest is a testing framework powered by Vite. Prior to versions 3.2.7, 4.1.10, and 5.0.0-beta.6, Browser Mode provider commands including upload, takeScreenshot, screenshotMatcher, stopChunkTrace, deleteTracing, and annotateTraces accept browser-supplied file paths without enforcing the allowWrite permission gate or confining paths to the project root. A client that can reach the Browser Mode API can read arbitrary local files, create or overwrite image and trace files, or delete files accessible to the Vitest process even when allowWrite is false. This issue is fixed in versions 3.2.7, 4.1.10, and 5.0.0-beta.6.


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