ZeroHour

CVE-2026-85700

Authenticated disclosure of admin API keys in Onyx custom tool headers

CVSS 4.0
7.1 high
EPSS
<1%p21
Published
()
Modified
AI analysis

Onyx 4.6.6 fails to properly restrict access to credentials that administrators store in the custom_headers field of custom tools (CWE-522, insufficiently protected credentials). Any authenticated user, including accounts with only basic privileges, can call GET /tool/{tool_id} or GET /tool and receive the plaintext authorization headers and admin-defined third-party API keys. With those credentials, an attacker can directly access the upstream APIs the keys belong to, bypassing Onyx's access controls and potentially consuming quota or reading data under the admin-defined credentials. Onyx 4.6.6 deployments (the disclosed version; the full affected version range is not specified) where admins configured custom tools with credentials are affected, and the attacker must already hold a valid user account on the instance. No public proof-of-concept, CISA KEV listing, or known exploitation exists; EPSS assigns a 0.3% probability of exploitation within 30 days (21st percentile).

What to do: Rotate any API keys stored in custom_headers on Onyx instances, since any authenticated user could have read them. Upgrade to a patched Onyx release when one is available (no fixed version is specified in this disclosure), and as an interim mitigation restrict access to the /tool and /tool/{tool_id} endpoints to admin roles.

Affected
Onyx4.6.6 (as reported; broader affected range not specified in the disclosure)
Estimated exposure
unknown; plausibly hundreds to low thousands of self-hosted Onyx instances, of which only those with admin-defined custom tool credentials are exposed — Onyx is an open-source enterprise AI assistant typically self-hosted via Docker behind internal networks, with no public active-install counts or internet-exposure scan data, and exploitation additionally requires an admin-configured…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

Onyx 4.6.6 fails to properly restrict access to custom tool credentials stored in custom_headers, allowing any authenticated user to read admin-defined API keys. Attackers with basic authentication can call GET /tool/{tool_id} or GET /tool endpoints to retrieve plaintext authorization headers and third-party API credentials, then use them to directly access upstream APIs.

Weakness
CWE-522
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.