GHSA-6j7p-qjhg-9947 · Severity: critical · Ecosystem: pip — Rucio has SQL Injection in FilterEngine PostgreSQL Query Builder via DID Search API
### 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.
Conclusion & alert: CVE-2026-29090 is rated Moderate Risk (42.2/100): CVSS Critical severity, with low exploitation likelihood (EPSS 0.06%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-07 | 0.04% | 0.06% | +0.01% |
| 2 | 2026-05-07 | — | 0.04% | — |
Full EPSS history (2 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 9.0 | 4.0 | CRITICAL |
|
— | — | [email protected] |
| 8.8 | 3.1 | HIGH |
|
2.8 | 5.9 | [email protected] |
GHSA-6j7p-qjhg-9947 · Severity: critical · Ecosystem: pip — Rucio has SQL Injection in FilterEngine PostgreSQL Query Builder via DID Search API
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| cern | rucio | >= 1.30.0, < 35.8.5 | cpe:2.3:a:cern:rucio:*:*:*:*:*:*:*:* |
| cern | rucio | >= 36.0.0, < 38.5.5 | cpe:2.3:a:cern:rucio:*:*:*:*:*:*:*:* |
| cern | rucio | >= 39.0.0, < 39.4.2 | cpe:2.3:a:cern:rucio:*:*:*:*:*:*:*:* |
| cern | rucio | >= 40.0.0, < 40.1.1 | cpe:2.3:a:cern:rucio:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/rucio/rucio/security/advisories/GHSA-6j7p-qjhg-9947 | Vendor Advisory |