CVE-2026-42277 Onyx: IDOR in /chat/file/{file_id} allows any authenticated user to download other users files
Authenticated users can download other users' files by guessing UUIDs due to missing ownership checks in the file download endpoint.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-42277?
CVE-2026-42277 is a medium-severity missing authorization vulnerability in onyx-dot-app onyx, published on 8 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Onyx is an open-source AI platform. Prior to versions 3.0.9, 3.1.6, and 3.2.6, the GET /chat/file/{file_id} 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.
Weakness: CWE-639
Which versions are affected by CVE-2026-42277?
It affects 1 product.
Products include Onyx Onyx.
How do I fix CVE-2026-42277?
No fix has been published for CVE-2026-42277 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2026-42277 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-42277 exists.
Other vulnerabilities in onyx-dot-app onyx
- CVE-2024-7767 Improper Access Control in danswer-ai/danswer
- CVE-2024-9612 Unauthorized Access in danswer-ai/danswer
- CVE-2025-51479 Missing authorization in n/a
- CVE-2025-7894 Onyx Chat Interface a3_generate_simple_sql.py generate_simple_sql sql injection
- CVE-2026-42276 Onyx: IDOR in /chat/stop-chat-session allows any authenticated user to interrupt other users chat sessions
Sources
Also known as GHSA-vg3h-35f7-7w6r.