Back to list

Dex: Token-exchange endpoint is missing AllowedConnectors enforcement — GHSA-7QJX-GP9H-65QJ

GitHub · GitHub · GHSA-7QJX-GP9H-65QJ

ID
GHSA-7QJX-GP9H-65QJ
Date
Activity
Source
GitHub
Vendor
GitHub
Threat
high
CVSS
8.7

Summary

## Summary `server/handlers.go::handleTokenExchange` (lines 1804-1893) does not call `isConnectorAllowed(client.AllowedConnectors, connID)` before issuing tokens, while sibling handlers do. This is a per-client connector ACL gap on the token-exchange endpoint; the redirect-flow paths enforce the same field correctly. ## Affected code path `handleTokenExchange` reads `connector_id` from the request body at…

Product

go: github.com/dexidp/dex

What to do

General, cautious steps (verify details in the official source):

  • Prioritize patching or mitigation immediately (treat as actively risky).
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Related advisories