### 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
| Link | Resource |
|---|---|
| https://github.com/rucio/rucio/security/advisories/GHSA-6j7p-qjhg-9947 | Vendor Advisory |
Configurations
Configuration 1 (hide)
|
History
11 May 2026, 15:00
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Cern rucio
Cern |
|
| CPE | cpe:2.3:a:cern:rucio:*:*:*:*:*:*:*:* | |
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 8.8 |
| References | () https://github.com/rucio/rucio/security/advisories/GHSA-6j7p-qjhg-9947 - Vendor Advisory |
06 May 2026, 18:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-05-06 18:16
Updated : 2026-05-11 15:00
NVD link : CVE-2026-29090
Mitre link : CVE-2026-29090
CVE.ORG link : CVE-2026-29090
JSON object : View
Products Affected
cern
- rucio
CWE
CWE-89
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
