CVE-2026-29090

HIGH

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

Title source: cna
STIX 2.1

Description

### 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.

References (1)

Core 1
Core References

Scores

CVSS v3 8.8
EPSS 0.0005
EPSS Percentile 15.1%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-89
Status published
Products (9)
cern/rucio 1.30.0 - 35.8.5
pypi/rucio 1.30.0 - 35.8.5PyPI
pypi/rucio 36.0.0 - 38.5.5PyPI
pypi/rucio 39.0.0 - 39.4.2PyPI
pypi/rucio 40.0.0 - 40.1.1PyPI
rucio/rucio >= 1.30.0, < 35.8.5
rucio/rucio >= 35.9.0, < 38.5.5
rucio/rucio >= 38.6.0, < 39.4.2
rucio/rucio >= 40.0.0, < 40.1.1
Published May 06, 2026
Tracked Since May 06, 2026