GHSA-r9w3-57w2-gch2 · Severity: high · Ecosystem: go — Ory Hydra has a SQL injection via forged pagination tokens
Ory Hydra is an OAuth 2.0 Server and OpenID Connect Provider. Prior to version 26.2.0, the listOAuth2Clients, listOAuth2ConsentSessions, and listTrustedOAuth2JwtGrantIssuers Admin APIs in Ory Hydra are vulnerable to SQL injection due to flaws in its pagination implementation. Pagination tokens are encrypted using the secret configured in `secrets.pagination`. If this value is not set, Hydra falls back to using `secrets.system`. An attacker who knows this secret can craft their own tokens, including malicious tokens that lead to SQL injection. This issue can be exploited when one or more admin APIs listed above are directly or indirectly accessible to the attacker; the attacker can pass a raw pagination token to the affected API; and the configuration value `secrets.pagination` is set and known to the attacker, or `secrets.pagination` is not set and `secrets.system` is known to the attacker. An attacker can execute arbitrary SQL queries through forged pagination tokens. As a first line of defense, immediately configure a custom value for `secrets.pagination` by generating a cryptographically secure random secret. Next, upgrade Hydra to the fixed version, 26.2.0 as soon as possible.
Conclusion & alert: CVE-2026-33504 is rated Low Risk (38.4/100): CVSS High severity, with low exploitation likelihood (EPSS 0.35%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.03% | 0.35% | +0.32% |
| 2 | 2026-03-27 | — | 0.03% | — |
Full EPSS history (2 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.2 | 3.1 | HIGH |
|
1.2 | 5.9 | [email protected] |
GHSA-r9w3-57w2-gch2 · Severity: high · Ecosystem: go — Ory Hydra has a SQL injection via forged pagination tokens
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
— | CVE-2026-33504: 1 source package rows (hydra); 4 state rows across 2 repos (3.23-community, edge-community); fixed 0, open 4. | https://security.alpinelinux.org/vuln/CVE-2026-33504 |
| URL | Tags |
|---|---|
| https://github.com/ory/hydra/security/advisories/GHSA-r9w3-57w2-gch2 | Mitigation Vendor Advisory |