# CVE-2026-33504: GO-2026-4807 - Ory Hydra has a SQL injection via forged pagination tokens in github.com/ory/hydra

Source: https://junglewise.ai/threats/cve-2026-33504-ory-hydra-has-a-sql-injection-via-forged-pagination-tokens  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-03-23  
License: CC BY 4.0 with a link back

CVE-2026-33504 · Severity: low · CVSS 3.1 · Published 2026-03-23

Ory Hydra has a SQL injection via forged pagination tokens in github.com/ory/hydra

Technologies: [github.com/ory/hydra (Go)](https://junglewise.ai/threats/technologies/github-com-ory-hydra). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2026-33504 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-33504 being exploited in the wild.

**How severe is CVE-2026-33504?** Low severity, with a CVSS score of 3.1, published 23 March 2026.

**Which products and versions are affected?** github.com/ory/hydra (Go) SEMVER:introduced=0, SEMVER:introduced=0,last_affected=1.11.10; github.com/ory/hydra/v2 (Go) SEMVER:introduced=0,fixed=2.3.1-0.20260320110106-0b84568fffcc.

**Is there a fix for CVE-2026-33504?** Yes. github.com/ory/hydra/v2 (Go): upgrade to 2.3.1-0.20260320110106-0b84568fffcc or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2026-33504?** Check whether you run github.com/ory/hydra (Go) or github.com/ory/hydra/v2 (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/ory/hydra/v2 (Go): upgrade to 2.3.1-0.20260320110106-0b84568fffcc or later

  ```sh
  go get github.com/ory/hydra/v2@v2.3.1-0.20260320110106-0b84568fffcc
  ```


## Affected products

- github.com/ory/hydra (Go) SEMVER:introduced=0, SEMVER:introduced=0,last_affected=1.11.10
- github.com/ory/hydra/v2 (Go) SEMVER:introduced=0,fixed=2.3.1-0.20260320110106-0b84568fffcc

## Identifiers

- CVE-2026-33504
- GHSA-r9w3-57w2-gch2
- GO-2026-4807

## Related threats

- [GO-2026-4861 - Hydra has Reflected XSS via error_hint parameter in github.com/ory/hydra](https://junglewise.ai/threats/cve-2019-8400-hydra-has-reflected-xss-via-error-hint-parameter)
- [GO-2022-0786 - Authentication Bypass in hydra in github.com/ory/hydra](https://junglewise.ai/threats/cve-2020-5300-authentication-bypass-in-hydra)
