7.2

CVE-2026-33504: Ory Hydra has a SQL injection via forged pagination tokens

Analyzed
AliasesCGA-gq8m-8vfp-5m76CGA-p639-fhr6-x9mrGHSA-r9w3-57w2-gch2
Published 26-03-2026Last modified 26-03-2026

Vulnerability summary

CVE-2026-33504 is a high (CVSS 7.2) vulnerability in ory hydra. EPSS estimates a 0.36% chance of exploitation in the next 30 days, higher than 30.2% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.2, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.2/10
010
High · v3.1 (CVE.org)
EPSS score
0.36%
0%100%
Low · -0.08 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 2 · Related 3

Timeline

  1. 26-03-2026
    PublishedVulnerability first disclosed.
  2. 26-03-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.36%

Chance of exploitation in the next 30 days

Percentile

30%

Versus all other CVEs

30-day change

Decrease -0.08 pp

From 0.45% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard2 products
  • hydra< 26.2.0-r0
  • hydra-fips< 26.2.0-r0
Github.com/ory1 product
  • hydra≤ 1.11.10 | All versions (No fix recorded)
Github.com/ory/hydra1 product
  • v2< 2.3.1-0.20260320110106-0b84568fffcc
Ory1 product
Wolfi1 product
  • hydra< 26.2.0-r0

5 vendors · 6 products

References

4 links