Ory Kratos has a SQL injection via forged pagination tokens
Published Mar 26, 2026
7.2
HIGHCVSS 3.1
EPSS 0.34%
Description
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.
Affected products
-
- Version < 26.2.0StatusaffectedConstraints-
- Version
No data.
No Red Hat product state for this CVE.
github.com/ory/kratos
Go
Introduced 0 Fixed 1.3.1-0.20260320110106-9d7085948039
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Go | github.com/ory/kratos | 0 | 1.3.1-0.20260320110106-9d7085948039 |
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
NoTechnical Impact
TotalDecision
n/aAssessed Mar 26, 2026 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
Mar–Oct 2026- EPSS v4
- EPSS v5
Percentile over time
- EPSS v4
- EPSS v5
Table of values (3 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.34% (0.00335) | 24.54th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.25% (0.00252) | 16.28th | v5 (v2026.06.15) |
| Mar 27, 2026 | 0.02% (0.00020) | 5.44th | v4 (v2025.03.14) |
References (3)
- https://github.com/advisories/GHSA-hgx2-28f8-6g2r Advisory
- https://github.com/ory/kratos/security/advisories/GHSA-hgx2-28f8-6g2r x_refsource_CONFIRMMitigationVendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-33503
| Link | Providers | Tags |
|---|---|---|
| https://github.com/advisories/GHSA-hgx2-28f8-6g2r | Advisory | |
| https://github.com/ory/kratos/security/advisories/GHSA-hgx2-28f8-6g2r | x_refsource_CONFIRMMitigationVendor Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-33503 |
Change history (0)
No recorded changes yet.