Onyx
Onyx: Cross-user OAuth-token leak via /api/mcp/servers* for per-user MCP servers
Onyx is an open-source AI platform. Prior to 3.1.10, 3.2.14, and 4.0.0, Onyx's GET /api/mcp/servers and GET /api/mcp/servers/persona/{persona_id} endpoints expose another user's OAuth Authorization header because OnyxTokenStorage.set_tokens and OnyxTokenStorage.set_client_info in backend/onyx/server/features/mcp/api.py copy per-user tokens into a shared admin MCPConnectionConfig row and _db_mcp_server_to_api_mcp_server returns that row through auth_template.headers to any BASIC_ACCESS user. This issue is fixed in versions 3.1.10, 3.2.14, and 4.0.0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 3.1.10
- >= 3.2.0, < 3.2.14
- >= 3.3.0-beta.0, < 4.0.0
Fixed in 3.1.10, 3.2.14, 4.0.0
Mitigation
Upgrade onyx to 3.1.10 or 3.2.14 or 4.0.0 or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.