CVE-2026-33504

Source
https://cve.org/CVERecord?id=CVE-2026-33504
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-33504.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-33504
Aliases
Downstream
Related
Published
2026-03-26T17:38:10.809Z
Modified
2026-07-15T01:49:04.680936515Z
Severity
  • 7.2 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Ory Hydra has a SQL injection via forged pagination tokens
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-89"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33504.json",
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/ory/hydra

Affected ranges

Type
GIT
Repo
https://github.com/ory/hydra
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "cpe": "cpe:2.3:a:ory:hydra:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "26.2.0"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "CPE_RANGE"
    ]
}

Affected versions

0.*
0.1-beta.2
0.1-beta.3
0.1-beta.4
0.1-beta1
0.4.2-alpha
1.*
1.4.8
sdk/go/hydra/v0.*
sdk/go/hydra/v0.0.1
v0.*
v0.0.1
v0.10.0
v0.10.0-alpha.1
v0.10.0-alpha.10
v0.10.0-alpha.11
v0.10.0-alpha.12
v0.10.0-alpha.13
v0.10.0-alpha.14
v0.10.0-alpha.15
v0.10.0-alpha.16
v0.10.0-alpha.17
v0.10.0-alpha.18
v0.10.0-alpha.19
v0.10.0-alpha.2
v0.10.0-alpha.20
v0.10.0-alpha.21
v0.10.0-alpha.3
v0.10.0-alpha.4
v0.10.0-alpha.5
v0.10.0-alpha.6
v0.10.0-alpha.7
v0.10.0-alpha.8
v0.10.0-alpha.9
v0.10.1
v0.10.10
v0.10.2
v0.10.3
v0.10.4
v0.10.5
v0.10.6
v0.10.7
v0.10.8
v0.10.9
v0.11.0
v0.11.1
v0.11.10
v0.11.2
v0.11.3
v0.11.4
v0.2.0
v0.3.0
v0.3.1
v0.4.0
v0.4.1
v0.4.2
v0.4.2-alpha.1
v0.4.2-alpha.2
v0.4.2-alpha.3
v0.4.2-alpha.4
v0.4.3
v0.5.0
v0.5.1
v0.5.2
v0.5.3
v0.5.4
v0.5.5
v0.5.6
v0.5.7
v0.5.8
v0.6.0
v0.6.1
v0.6.10
v0.6.2
v0.6.3
v0.6.4
v0.6.5
v0.6.6
v0.6.7
v0.6.8
v0.6.9
v0.7.0
v0.7.1
v0.7.10
v0.7.11
v0.7.12
v0.7.13
v0.7.2
v0.7.3
v0.7.4
v0.7.5
v0.7.6
v0.7.7
v0.7.8
v0.7.9
v0.8.0
v0.8.1
v0.8.2
v0.8.3
v0.8.4
v0.8.5
v0.8.6
v0.8.7
v0.9.0
v0.9.1
v0.9.10
v0.9.11
v0.9.12
v0.9.13
v0.9.14
v0.9.2
v0.9.3
v0.9.4
v0.9.5
v0.9.6
v0.9.7
v0.9.8
v0.9.9
v1.*
v1.0.0
v1.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pre.0
v2.2.0-pre.1
v2.2.0-rc.1
v2.2.0-rc.2
v2.2.0-rc.3
v2.3.0
v25.*
v25.4.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-33504.json"