PoC Monitor
← All CVEs
CVE-2026-29090published 6 May 2026 17:21 UTCData: JSON · API

Rucio

Rucio SQL injection in postgres_meta DID search path compromises PostgreSQL metadata database

### Summary A SQL injection vulnerability exists in Rucio versions 1.30.0 and later before 35.8.5, 38.5.5, 39.4.2, and 40.1.1, in `FilterEngine.create_postgres_query()`. This allows any authenticated Rucio user to execute arbitrary SQL against the PostgreSQL metadata database through the DID search endpoint (`GET /dids/<scope>/dids/search`). When the `postgres_meta` metadata plugin is configured, attacker-controlled filter keys and values are interpolated directly into raw SQL strings via Python `.format()`, then passed to `psycopg3`'s `sql.SQL()` which treats the string as trusted SQL syntax. Depending on the database privileges assigned to the service account, exploitation can expose sensitive tables, modify or delete metadata, access server-side files, or achieve code execution through PostgreSQL features such as COPY ... FROM PROGRAM. This issue affects deployments that explicitly use the postgres_meta metadata plugin. This vulnerability has been fixed in versions 35.8.5, 38.5.5, 39.4.2, and 40.1.1.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.0critical · scored by CNA · CWE-89
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

rucio rucio
  • >= 1.30.0, < 35.8.5
  • >= 35.9.0, < 38.5.5
  • >= 38.6.0, < 39.4.2
  • >= 40.0.0, < 40.1.1

Fixed in 35.8.5, 38.5.5, 39.4.2, 40.1.1

Mitigation

Upgrade rucio to 35.8.5 or 38.5.5 or 39.4.2 or 40.1.1 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published6 May 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.