CVE-2026-42277: Onyx: IDOR in /chat/file/{file_id} allows any authenticated user to download other users files
Onyx is an open-source AI platform. Prior to versions 3.0.9, 3.1.6, and 3.2.6, the GET /chat/file/{fileid} endpoint allows any authenticated user to download any other user's uploaded files by providing the file UUID. The endpoint verifies the caller is authenticated but never checks that the file belongs to them. An attacker who knows or obtains a file UUID can access confidential documents, chat attachments, and other files uploaded by any user in the system. This issue has been patched in versions 3.0.9, 3.1.6, and 3.2.6.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-42277?
CVE-2026-42277 is a medium severity vulnerability due to unauthorized file access by authenticated users.
How do I fix CVE-2026-42277?
To fix CVE-2026-42277, update Onyx to version 3.0.9, 3.1.6, or 3.2.6 or later.
What type of vulnerability is CVE-2026-42277?
CVE-2026-42277 is classified as an Insecure Direct Object Reference (IDOR) vulnerability.
Who is affected by CVE-2026-42277?
Any authenticated user of Onyx versions prior to 3.0.9, 3.1.6, and 3.2.6 is potentially affected by CVE-2026-42277.
What are the consequences of CVE-2026-42277?
The consequence of CVE-2026-42277 is that unauthorized users can download other users' files, leading to data exposure.