CVE-2026-29090Cern Rucio
Critical 9.0
Follow: this CVE · Cern · Cern Rucio We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 4.0
- 9.0
- EPSS
- —
- Auth required
- Yes
- Published
- May 6, 2026
- Updated
- Nov 11, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-89
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
### 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.
What to do
- Apply the vendor's security update for Rucio.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | rucio |
≥ 1.30.0 < 35.8.5 |
35.8.5 |
pip install "rucio>=35.8.5" |
| PyPI | rucio |
≥ 36.0.0 < 38.5.5 |
38.5.5 |
pip install "rucio>=38.5.5" |
| PyPI | rucio |
≥ 39.0.0 < 39.4.2 |
39.4.2 |
pip install "rucio>=39.4.2" |
| PyPI | rucio |
≥ 40.0.0 < 40.1.1 |
40.1.1 |
pip install "rucio>=40.1.1" |
| PyPI | rucio |
≥ 1.30.0 < 35.8.5 |
35.8.5 |
pip install "rucio>=35.8.5" |
| PyPI | rucio |
≥ 36.0.0 < 38.5.5 |
38.5.5 |
pip install "rucio>=38.5.5" |
| PyPI | rucio |
≥ 39.0.0 < 39.4.2 |
39.4.2 |
pip install "rucio>=39.4.2" |
| PyPI | rucio |
≥ 40.0.0 < 40.1.1 |
40.1.1 |
pip install "rucio>=40.1.1" |
Per OSV / GitHub Advisories (GHSA-6j7p-qjhg-9947, PYSEC-2026-527). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| cern | rucio | ≥ 1.30.0 < 35.8.5 |
| cern | rucio | ≥ 36.0.0 < 38.5.5 |
| cern | rucio | ≥ 39.0.0 < 39.4.2 |
| cern | rucio | ≥ 40.0.0 < 40.1.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Vendor Advisory