What happened
sdcb Chats 1.10.0–1.17.1 has an authorization flaw in GetAssignedUserDetails: an assigned non-admin user can request the assigned-user-details endpoint and read other users' per-user MCP headers, obtaining bearer tokens in CustomHeaders and impersonating them against the downstream MCP server. CVSS 6.5 (CVSS 3.1; 7.1 under CVSS 4.0).
Why it matters
Chats is a multi-user AI chat front-end where per-user MCP headers may carry downstream service credentials. A lower-privileged user can harvest another user's bearer token and impersonate them toward downstream MCP tools, escalating within the agentic tool integration and potentially granting cross-user access.
Attack vector
Authenticated low-privilege user requests assigned-user-details for another user to read their MCP CustomHeaders bearer token.
Affected systems
sdcb/chats 1.10.0 ≤ version < 1.17.1
Mitigation
Upgrade to 1.17.1 (fixed in commit 776a065b); restrict the assigned-user-details endpoint to authorized/admin users.