Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/dexidp/dex
  4. ›
  5. GHSA-7qjx-gp9h-65qj

GHSA-7qjx-gp9h-65qj: Dex: Token-exchange endpoint is missing AllowedConnectors enforcement

June 9, 2026

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.

References

  • github.com/advisories/GHSA-7qjx-gp9h-65qj
  • github.com/dexidp/dex/commit/204dbb2e3ff7692af3b7ca4362b1ee46fb43c227
  • github.com/dexidp/dex/security/advisories/GHSA-7qjx-gp9h-65qj

Code Behaviors & Features

Detect and mitigate GHSA-7qjx-gp9h-65qj with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.0.0-20260303131938-204dbb2e3ff7

Fixed versions

  • 0.0.0-20260303131938-204dbb2e3ff7

Solution

Upgrade to version 0.0.0-20260303131938-204dbb2e3ff7 or above.

Impact 8.7 HIGH

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-285: Improper Authorization

Source file

go/github.com/dexidp/dex/GHSA-7qjx-gp9h-65qj.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:23:06 +0000.