Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-33505— Ory Keto has a SQL injection via forged pagination tokens

Quick assessment

Affected
ory keto
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Ory Keto是Ory开源的一个授权服务器。 Ory Keto 26.2.0之前版本存在SQL注入漏洞,该漏洞源于分页实现存在缺陷,可能导致SQL注入。

CVSS 7.2 · High EPSS 0.29% · P19
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-33505

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Ory Keto has a SQL injection via forged pagination tokens
Source: CVE Program / CVE List V5
Vulnerability Description
Ory Keto is am open source authorization server for managing permissions at scale. Prior to version 26.2.0, the GetRelationships API in Ory Keto 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, Keto falls back to a hard-coded 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. This issue can be exploited when GetRelationships API is 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 not set or 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 Keto to a fixed version, 26.2.0 or later, as soon as possible.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
Source: CVE Program / CVE List V5
Vulnerability Title
Ory Keto SQL注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Ory Keto是Ory开源的一个授权服务器。 Ory Keto 26.2.0之前版本存在SQL注入漏洞,该漏洞源于分页实现存在缺陷,可能导致SQL注入。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
ory keto < 26.2.0 -

II. Public POCs for CVE-2026-33505

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-33505

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-33505 (1)

Same Patch Batch · ory · 2026-03-26 · 7 CVEs total

CVE-2026-33494 10.0 CRITICAL Ory Oathkeeper has a path traversal authorization bypass
CVE-2026-33506 8.8 HIGH DOM-Based XSS in Ory Polis Login Page
CVE-2026-33496 8.1 HIGH Ory Oathkeeper has an authentication bypass by cache key confusion
CVE-2026-33503 7.2 HIGH Ory Kratos has a SQL injection via forged pagination tokens
CVE-2026-33504 7.2 HIGH Ory Hydra has a SQL injection via forged pagination tokens
CVE-2026-33495 6.5 MEDIUM Ory Oathkeeper has an authentication bypass by usage of untrusted header

IV. Related Vulnerabilities

V. Comments for CVE-2026-33505

No comments yet


Leave a comment