Read the docs
TI-2026-25899 Aliases CVE-2026-33503GHSA-hgx2-28f8-6g2r

Ory Kratos has a SQL injection via forged pagination tokens

Priority LOW 33CWE-89Published · Updated

Key facts

Attack vector
Network
Privileges required
High
User interaction
None
Attack complexity
Low
Impact type
SQL injection
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-89.

Summary

Ory Kratos is an identity, user management and authentication system for cloud services. Prior to version 26.2.0, the ListCourierMessages Admin API in Ory Kratos is vulnerable to SQL injection due to flaws in its pagination implementation. Pagination tokens are encrypted using the secret configured in `secrets.pagination`. An attacker who knows this secret can craft their own tokens, including malicious tokens that lead to SQL injection. If this configuration value is not set, Kratos falls back to a default pagination encryption secret. Because this default value is publicly known, attackers can generate valid and malicious pagination tokens manually for installations where this secret is not set. As a first line of defense, immediately configure a custom value for `secrets.pagination` by generating a cryptographically secure random secret. Next, upgrade Kratos** to a fixed version, 26.2.0 or later, as soon as possible.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00262 18th percentileScored 2026-11-07
Fix Fixed kratos (ory): 26.2.0github.com/ory/kratos (Go): 1.3.1-0.20260320110106-9d7085948039

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
orykratosbefore 26.2.026.2.0Patch availableCNA
—github.com/ory/kratos (Go)before 1.3.1-0.20260320110106-9d70859480391.3.1-0.20260320110106-9d7085948039Patch availableGHSA-hgx2-28f8-6g2r
  • kratos Vendorory Affected before 26.2.0 Fixed in 26.2.0 Patch available CNA
  • github.com/ory/kratos (Go) Vendor— Affected before 1.3.1-0.20260320110106-9d7085948039 Fixed in 1.3.1-0.20260320110106-9d7085948039 Patch available GHSA-hgx2-28f8-6g2r

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:ory:kratos:*:*:*:*:*:*:*:*before 26.2.0Vulnerableory
  • cpe:2.3:a:ory:kratos:*:*:*:*:*:*:*:* Versions before 26.2.0 Vulnerable ·ory

Remediation

  • Fix · CNA kratos (ory) Fixed in 26.2.0
  • Fix · GHSA-hgx2-28f8-6g2r github.com/ory/kratos (Go) Fixed in 1.3.1-0.20260320110106-9d7085948039 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-33503
  2. 2026-10-03 Alias added: GHSA-hgx2-28f8-6g2r

References

Sources