CVE-2026-29090 Rucio SQL injection in postgres_meta DID search path compromises PostgreSQL metadata database
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| cern rucio | >= 1.30.0, < 35.8.5; >= 36.0.0, < 38.5.5; >= 39.0.0, < 39.4.2; >= 40.0.0, < 40.1.1 | 35.8.5, 38.5.5, 39.4.2, 40.1.1 | Fixed |
| pypi rucio(PyPI) | = 1.30.0; = 1.30.1; = 1.30.2; = 1.30.3 +130 more | 35.8.5, 38.5.5, 39.4.2, 40.1.1 | Fixed |
| rucio | = >= 1.30.0, < 35.8.5; = >= 35.9.0, < 38.5.5; = >= 38.6.0, < 39.4.2; = >= 40.0.0, < 40.1.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi rucio(PyPI) | >= 1.30.0, < 35.8.5 | 35.8.5 |
| pypi rucio(PyPI) | = 1.30.0 | No fix listed |
| pypi rucio(PyPI) | = 1.30.1 | No fix listed |
| pypi rucio(PyPI) | = 1.30.2 | No fix listed |
| pypi rucio(PyPI) | = 1.30.3 | No fix listed |
| pypi rucio(PyPI) | = 1.30.4 | No fix listed |
| pypi rucio(PyPI) | = 1.30.5 | No fix listed |
| pypi rucio(PyPI) | = 1.30.6 | No fix listed |
| pypi rucio(PyPI) | = 1.30.7 | No fix listed |
| pypi rucio(PyPI) | = 1.30.8 | No fix listed |
| pypi rucio(PyPI) | = 1.31.0 | No fix listed |
| pypi rucio(PyPI) | = 1.31.0rc1 | No fix listed |
| pypi rucio(PyPI) | = 1.31.0rc2 | No fix listed |
| pypi rucio(PyPI) | = 1.31.0rc3 | No fix listed |
| pypi rucio(PyPI) | = 1.31.1 | No fix listed |
| pypi rucio(PyPI) | = 1.31.2 | No fix listed |
| pypi rucio(PyPI) | = 1.31.3 | No fix listed |
| pypi rucio(PyPI) | = 1.31.4 | No fix listed |
| pypi rucio(PyPI) | = 1.31.5 | No fix listed |
| pypi rucio(PyPI) | = 1.31.6 | No fix listed |
| pypi rucio(PyPI) | = 1.31.7 | No fix listed |
| pypi rucio(PyPI) | = 32.0.0 | No fix listed |
| pypi rucio(PyPI) | = 32.0.0rc1 | No fix listed |
| pypi rucio(PyPI) | = 32.0.0rc2 | No fix listed |
| pypi rucio(PyPI) | = 32.1.0 | No fix listed |
Show 117 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi rucio(PyPI) | = 32.2.0 | No fix listed |
| pypi rucio(PyPI) | = 32.3.0 | No fix listed |
| pypi rucio(PyPI) | = 32.3.1 | No fix listed |
| pypi rucio(PyPI) | = 32.4.0 | No fix listed |
| pypi rucio(PyPI) | = 32.5.0 | No fix listed |
| pypi rucio(PyPI) | = 32.5.0.post1 | No fix listed |
| pypi rucio(PyPI) | = 32.5.1 | No fix listed |
| pypi rucio(PyPI) | = 32.6.0 | No fix listed |
| pypi rucio(PyPI) | = 32.6.0.post1 | No fix listed |
| pypi rucio(PyPI) | = 32.7.0 | No fix listed |
| pypi rucio(PyPI) | = 32.8.0 | No fix listed |
| pypi rucio(PyPI) | = 32.8.1 | No fix listed |
| pypi rucio(PyPI) | = 32.8.2 | No fix listed |
| pypi rucio(PyPI) | = 32.8.3 | No fix listed |
| pypi rucio(PyPI) | = 32.8.4 | No fix listed |
| pypi rucio(PyPI) | = 32.8.5 | No fix listed |
| pypi rucio(PyPI) | = 32.8.6 | No fix listed |
| pypi rucio(PyPI) | = 33.0.0 | No fix listed |
| pypi rucio(PyPI) | = 33.0.0rc1 | No fix listed |
| pypi rucio(PyPI) | = 33.0.0rc2 | No fix listed |
| pypi rucio(PyPI) | = 33.0.0rc3 | No fix listed |
| pypi rucio(PyPI) | = 33.1.0 | No fix listed |
| pypi rucio(PyPI) | = 33.2.0 | No fix listed |
| pypi rucio(PyPI) | = 33.2.1 | No fix listed |
| pypi rucio(PyPI) | = 33.3.0 | No fix listed |
| pypi rucio(PyPI) | = 33.4.0 | No fix listed |
| pypi rucio(PyPI) | = 33.4.0.post1 | No fix listed |
| pypi rucio(PyPI) | = 33.5.0 | No fix listed |
| pypi rucio(PyPI) | = 33.6.0 | No fix listed |
| pypi rucio(PyPI) | = 33.6.1 | No fix listed |
| pypi rucio(PyPI) | = 34.0.0 | No fix listed |
| pypi rucio(PyPI) | = 34.0.0rc1 | No fix listed |
| pypi rucio(PyPI) | = 34.0.0rc2 | No fix listed |
| pypi rucio(PyPI) | = 34.1.0 | No fix listed |
| pypi rucio(PyPI) | = 34.2.0 | No fix listed |
| pypi rucio(PyPI) | = 34.3.0 | No fix listed |
| pypi rucio(PyPI) | = 34.4.0 | No fix listed |
| pypi rucio(PyPI) | = 34.4.1 | No fix listed |
| pypi rucio(PyPI) | = 34.4.2 | No fix listed |
| pypi rucio(PyPI) | = 34.4.3 | No fix listed |
| pypi rucio(PyPI) | = 34.5.0 | No fix listed |
| pypi rucio(PyPI) | = 34.6.0 | No fix listed |
| pypi rucio(PyPI) | = 35.0.0 | No fix listed |
| pypi rucio(PyPI) | = 35.0.0rc1 | No fix listed |
| pypi rucio(PyPI) | = 35.0.0rc2 | No fix listed |
| pypi rucio(PyPI) | = 35.0.1 | No fix listed |
| pypi rucio(PyPI) | = 35.1.0 | No fix listed |
| pypi rucio(PyPI) | = 35.1.1 | No fix listed |
| pypi rucio(PyPI) | = 35.2.0 | No fix listed |
| pypi rucio(PyPI) | = 35.2.1 | No fix listed |
| pypi rucio(PyPI) | = 35.3.0 | No fix listed |
| pypi rucio(PyPI) | = 35.4.0 | No fix listed |
| pypi rucio(PyPI) | = 35.4.1 | No fix listed |
| pypi rucio(PyPI) | = 35.5.0 | No fix listed |
| pypi rucio(PyPI) | = 35.6.0 | No fix listed |
| pypi rucio(PyPI) | = 35.6.1 | No fix listed |
| pypi rucio(PyPI) | = 35.7.0 | No fix listed |
| pypi rucio(PyPI) | = 35.8.0 | No fix listed |
| pypi rucio(PyPI) | = 35.8.1 | No fix listed |
| pypi rucio(PyPI) | = 35.8.2 | No fix listed |
| pypi rucio(PyPI) | = 35.8.3 | No fix listed |
| pypi rucio(PyPI) | = 35.8.4 | No fix listed |
| pypi rucio(PyPI) | >= 36.0.0, < 38.5.5 | 38.5.5 |
| pypi rucio(PyPI) | = 36.0.0 | No fix listed |
| pypi rucio(PyPI) | = 36.0.0.post1 | No fix listed |
| pypi rucio(PyPI) | = 36.0.0.post2 | No fix listed |
| pypi rucio(PyPI) | = 36.1.0 | No fix listed |
| pypi rucio(PyPI) | = 36.2.0 | No fix listed |
| pypi rucio(PyPI) | = 36.3.0 | No fix listed |
| pypi rucio(PyPI) | = 36.4.0 | No fix listed |
| pypi rucio(PyPI) | = 36.5.0 | No fix listed |
| pypi rucio(PyPI) | = 37.0.0 | No fix listed |
| pypi rucio(PyPI) | = 37.0.0rc1 | No fix listed |
| pypi rucio(PyPI) | = 37.0.0rc2 | No fix listed |
| pypi rucio(PyPI) | = 37.0.0rc3 | No fix listed |
| pypi rucio(PyPI) | = 37.0.0rc4 | No fix listed |
| pypi rucio(PyPI) | = 37.1.0 | No fix listed |
| pypi rucio(PyPI) | = 37.1.0.post1 | No fix listed |
| pypi rucio(PyPI) | = 37.2.0 | No fix listed |
| pypi rucio(PyPI) | = 37.3.0 | No fix listed |
| pypi rucio(PyPI) | = 37.4.0 | No fix listed |
| pypi rucio(PyPI) | = 37.5.0 | No fix listed |
| pypi rucio(PyPI) | = 37.6.0 | No fix listed |
| pypi rucio(PyPI) | = 37.7.0 | No fix listed |
| pypi rucio(PyPI) | = 37.7.1 | No fix listed |
| pypi rucio(PyPI) | = 38.0.0 | No fix listed |
| pypi rucio(PyPI) | = 38.0.0rc1 | No fix listed |
| pypi rucio(PyPI) | = 38.0.0rc2 | No fix listed |
| pypi rucio(PyPI) | = 38.0.0rc3 | No fix listed |
| pypi rucio(PyPI) | = 38.1.0 | No fix listed |
| pypi rucio(PyPI) | = 38.2.0 | No fix listed |
| pypi rucio(PyPI) | = 38.3.0 | No fix listed |
| pypi rucio(PyPI) | = 38.4.0 | No fix listed |
| pypi rucio(PyPI) | = 38.5.0 | No fix listed |
| pypi rucio(PyPI) | = 38.5.1 | No fix listed |
| pypi rucio(PyPI) | = 38.5.2 | No fix listed |
| pypi rucio(PyPI) | = 38.5.3 | No fix listed |
| pypi rucio(PyPI) | = 38.5.4 | No fix listed |
| pypi rucio(PyPI) | >= 39.0.0, < 39.4.2 | 39.4.2 |
| pypi rucio(PyPI) | = 39.0.0 | No fix listed |
| pypi rucio(PyPI) | = 39.1.0 | No fix listed |
| pypi rucio(PyPI) | = 39.2.0 | No fix listed |
| pypi rucio(PyPI) | = 39.3.0 | No fix listed |
| pypi rucio(PyPI) | = 39.3.1 | No fix listed |
| pypi rucio(PyPI) | = 39.4.0 | No fix listed |
| pypi rucio(PyPI) | = 39.4.1 | No fix listed |
| pypi rucio(PyPI) | >= 40.0.0, < 40.1.1 | 40.1.1 |
| pypi rucio(PyPI) | = 40.0.0 | No fix listed |
| pypi rucio(PyPI) | = 40.1.0 | No fix listed |
| rucio | = >= 1.30.0, < 35.8.5 | No fix listed |
| rucio | = >= 35.9.0, < 38.5.5 | No fix listed |
| rucio | = >= 38.6.0, < 39.4.2 | No fix listed |
| rucio | = >= 40.0.0, < 40.1.1 | No fix listed |
| cern rucio | >= 1.30.0, < 35.8.5 | 35.8.5 |
| cern rucio | >= 36.0.0, < 38.5.5 | 38.5.5 |
| cern rucio | >= 39.0.0, < 39.4.2 | 39.4.2 |
| cern rucio | >= 40.0.0, < 40.1.1 | 40.1.1 |
References
- https://github.com/rucio/rucio/security/advisories/GHSA-6j7p-qjhg-9947 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com vendor-advisory
- github.com
- github.com product
- pypi.org product