{"cve":"CVE-2026-33503","nvd":{"published":"2026-03-26T18:16:30.897","modified":"2026-06-17T10:37:36.830","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":7.2},"cwes":["CWE-89"],"references":["https://github.com/ory/kratos/security/advisories/GHSA-hgx2-28f8-6g2r"],"products":["ory:kratos"],"source":"nvd","synced_at":"2026-10-19T22:28:18.033120106+00:00"},"epss":{"cve":"CVE-2026-33503","score":0.00262,"percentile":0.18078,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-hgx2-28f8-6g2r","url":"https://osv.dev/vulnerability/GHSA-hgx2-28f8-6g2r","summary":"Ory Kratos has a SQL injection via forged pagination tokens","modified":"2026-03-27T21:20:15.936696Z","packages":[{"ecosystem":"Go","name":"github.com/ory/kratos","purl":"pkg:golang/github.com/ory/kratos","ranges":["<1.3.1-0.20260320110106-9d7085948039"],"fixed":["1.3.1-0.20260320110106-9d7085948039"]}]},{"id":"GO-2026-4801","url":"https://osv.dev/vulnerability/GO-2026-4801","summary":"Ory Kratos has a SQL injection via forged pagination tokens in github.com/ory/kratos","modified":"2026-03-23T18:45:23.550070Z","packages":[{"ecosystem":"Go","name":"github.com/ory/kratos","purl":"pkg:golang/github.com/ory/kratos","ranges":["<1.3.1-0.20260320110106-9d7085948039"],"fixed":["1.3.1-0.20260320110106-9d7085948039"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}