CVE-2026-29090

CRITICAL CVSS 4.0: 9.0 EPSS 0.30%
Updated Jun 17, 2026
Cern
Parameter Value
CVSS 9.0 (CRITICAL)
Affected Versions 1.30.0 — 40.1.1
Fixed In 35.8.5
Type CWE-89 (SQL Injection)
Vendor Cern
Public PoC No

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

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Weakness Type (CWE)

Vulnerable Products 4

Configuration From (including) Up to (excluding)
Cern Rucio
cpe:2.3:a:cern:rucio:*:*:*:*:*:*:*:*
1.30.0 35.8.5
Cern Rucio
cpe:2.3:a:cern:rucio:*:*:*:*:*:*:*:*
36.0.0 38.5.5
Cern Rucio
cpe:2.3:a:cern:rucio:*:*:*:*:*:*:*:*
39.0.0 39.4.2
Cern Rucio
cpe:2.3:a:cern:rucio:*:*:*:*:*:*:*:*
40.0.0 40.1.1