Live threats

All CVEs / Ory

CVE-2026-33505Ory Keto

High 7.2

Priority
43
CVSS 3.1
7.2
EPSS
—
Auth required
Yes
Published
Mar 26, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-89
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Keto.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/ory/keto < 0.14.1-0.20260320140104-e4393662cd2e 0.14.1-0.20260320140104-e4393662cd2e go get github.com/ory/keto@v0.14.1-0.20260320140104-e4393662cd2e
Go github.com/ory/keto < 0.14.1-0.20260320140104-e4393662cd2e 0.14.1-0.20260320140104-e4393662cd2e go get github.com/ory/keto@v0.14.1-0.20260320140104-e4393662cd2e

Per OSV / GitHub Advisories (GHSA-c38g-mx2c-9wf2, GO-2026-4800). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
oryketo< 26.2.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.