CVE-2026-29080
CVE-2026-29080 · Rucio SQL Injection in FilterEngine Oracle JSON Path via DID Search API
This page contains facts from public vulnerability sources. Check the original advisory before updating.
A SQL injection vulnerability in `FilterEngine.create_sqla_query()` allows any authenticated Rucio user to execute arbitrary SQL against the backend database through the DID search endpoint (`GET /dids/<scope>/dids/search`). On Oracle deployments attacker-controlled filter keys and values are interpolated directly into `sqlalchemy.text()` via Python `.format()`, completely bypassing parameterization. This enables full database compromise including extraction of authentication tokens, password hashes, and all managed data identifiers. This affects versions 1.27.0 and later before 35.8.5, 38.5.5, 39.4.2, and 40.1.1. The vulnerability exists in `lib/rucio/core/did_meta_plugins/filter_engine.py` within the `create_sqla_query()` method. When the database dialect is Oracle, filter expressions for JSON metadata columns are constructed using `text()` with Python string formatting. Both `key` and `value` are attacker-controlled strings derived from HTTP query parameters. The `text()` function creates a raw SQL fragment — it does **not** escape or parameterize its contents. Any authenticated Rucio user can exploit this through the DID search API to execute arbitrary SQL against the backend database. This can expose all managed data identifiers and sensitive tables such as identities, tokens, accounts, rse_settings, and rules, and may allow modification of database contents. The issue affects Oracle deployments using the default json_meta plugin and does not affect PostgreSQL or MySQL deployments using that plugin. This vulnerability has been fixed in versions 35.8.5, 38.5.5, 39.4.2, and 40.1.1.
CVSS 9.4 · Critical · EPSS 0.3% · Fix available
- Published
- Updated
Stack: python
Affected products and versions
rucio
- Versions
- >= 1.27.0, < 35.8.5: Affected
- >= 35.9.0, < 38.5.5: Affected
- >= 38.6.0, < 39.4.2: Affected
- >= 40.0.0, < 40.1.1: Affected
No fix published
rucio PyPI
- Versions
- 1.27.0
- 1.27.0.post1
- 1.27.1
- 1.27.10
- 1.27.11
- 1.27.12
- 1.27.2
- 1.27.3
- 1.27.4
- 1.27.4.post1
- 1.27.5
- 1.27.7
- 1.27.9
- 1.28.0
- 1.28.0rc1
- 1.28.0rc2
- 1.28.1
- 1.28.2
- 1.28.3
- 1.28.4
- 1.28.5
- 1.28.6
- 1.28.7
- 1.29.0
- 1.29.0rc1
- 1.29.0rc2
- 1.29.1
- 1.29.10
- 1.29.11
- 1.29.12
- 1.29.13
- 1.29.14
- 1.29.15
- 1.29.16
- 1.29.17
- 1.29.18
- 1.29.19
- 1.29.2
- 1.29.2.post1
- 1.29.2.post2
- 1.29.3
- 1.29.3.post1
- 1.29.4
- 1.29.5
- 1.29.6
- 1.29.7
- 1.29.7.post1
- 1.29.8
- 1.29.9
- 1.30.0
- 1.30.0rc1
- 1.30.0rc2
- 1.30.0rc3
- 1.30.1
- 1.30.2
- 1.30.3
- 1.30.4
- 1.30.5
- 1.30.6
- 1.30.7
- 1.30.8
- 1.31.0
- 1.31.0rc1
- 1.31.0rc2
- 1.31.0rc3
- 1.31.1
- 1.31.2
- 1.31.3
- 1.31.4
- 1.31.5
- 1.31.6
- 1.31.7
- 32.0.0
- 32.0.0rc1
- 32.0.0rc2
- 32.1.0
- 32.2.0
- 32.3.0
- 32.3.1
- 32.4.0
- 32.5.0
- 32.5.0.post1
- 32.5.1
- 32.6.0
- 32.6.0.post1
- 32.7.0
- 32.8.0
- 32.8.1
- 32.8.2
- 32.8.3
- 32.8.4
- 32.8.5
- 32.8.6
- 33.0.0
- 33.0.0rc1
- 33.0.0rc2
- 33.0.0rc3
- 33.1.0
- 33.2.0
- 33.2.1
- 33.3.0
- 33.4.0
- 33.4.0.post1
- 33.5.0
- 33.6.0
- 33.6.1
- 34.0.0
- 34.0.0rc1
- 34.0.0rc2
- 34.1.0
- 34.2.0
- 34.3.0
- 34.4.0
- 34.4.1
- 34.4.2
- 34.4.3
- 34.5.0
- 34.6.0
- 35.0.0
- 35.0.0rc1
- 35.0.0rc2
- 35.0.1
- 35.1.0
- 35.1.1
- 35.2.0
- 35.2.1
- 35.3.0
- 35.4.0
- 35.4.1
- 35.5.0
- 35.6.0
- 35.6.1
- 35.7.0
- 35.8.0
- 35.8.1
- 35.8.2
- 35.8.3
- 35.8.4
- Affected ranges
- ECOSYSTEM: ≥ 1.27.0, < 35.8.5
Update to 35.8.5
rucio PyPI
- Versions
- 36.0.0
- 36.0.0.post1
- 36.0.0.post2
- 36.1.0
- 36.2.0
- 36.3.0
- 36.4.0
- 36.5.0
- 37.0.0
- 37.0.0rc1
- 37.0.0rc2
- 37.0.0rc3
- 37.0.0rc4
- 37.1.0
- 37.1.0.post1
- 37.2.0
- 37.3.0
- 37.4.0
- 37.5.0
- 37.6.0
- 37.7.0
- 37.7.1
- 38.0.0
- 38.0.0rc1
- 38.0.0rc2
- 38.0.0rc3
- 38.1.0
- 38.2.0
- 38.3.0
- 38.4.0
- 38.5.0
- 38.5.1
- 38.5.2
- 38.5.3
- 38.5.4
- Affected ranges
- ECOSYSTEM: ≥ 36.0.0, < 38.5.5
Update to 38.5.5
rucio PyPI
- Versions
- 39.0.0
- 39.1.0
- 39.2.0
- 39.3.0
- 39.3.1
- 39.4.0
- 39.4.1
- Affected ranges
- ECOSYSTEM: ≥ 39.0.0, < 39.4.2
Update to 39.4.2
rucio PyPI
- Versions
- 40.0.0
- 40.1.0
- Affected ranges
- ECOSYSTEM: ≥ 40.0.0, < 40.1.1
Update to 40.1.1
rucio PyPI
- Versions
- 1.27.0
- 1.27.0.post1
- 1.27.1
- 1.27.10
- 1.27.11
- 1.27.12
- 1.27.2
- 1.27.3
- 1.27.4
- 1.27.4.post1
- 1.27.5
- 1.27.7
- 1.27.9
- 1.28.0
- 1.28.0rc1
- 1.28.0rc2
- 1.28.1
- 1.28.2
- 1.28.3
- 1.28.4
- 1.28.5
- 1.28.6
- 1.28.7
- 1.29.0
- 1.29.0rc1
- 1.29.0rc2
- 1.29.1
- 1.29.10
- 1.29.11
- 1.29.12
- 1.29.13
- 1.29.14
- 1.29.15
- 1.29.16
- 1.29.17
- 1.29.18
- 1.29.19
- 1.29.2
- 1.29.2.post1
- 1.29.2.post2
- 1.29.3
- 1.29.3.post1
- 1.29.4
- 1.29.5
- 1.29.6
- 1.29.7
- 1.29.7.post1
- 1.29.8
- 1.29.9
- 1.30.0
- 1.30.0rc1
- 1.30.0rc2
- 1.30.0rc3
- 1.30.1
- 1.30.2
- 1.30.3
- 1.30.4
- 1.30.5
- 1.30.6
- 1.30.7
- 1.30.8
- 1.31.0
- 1.31.0rc1
- 1.31.0rc2
- 1.31.0rc3
- 1.31.1
- 1.31.2
- 1.31.3
- 1.31.4
- 1.31.5
- 1.31.6
- 1.31.7
- 32.0.0
- 32.0.0rc1
- 32.0.0rc2
- 32.1.0
- 32.2.0
- 32.3.0
- 32.3.1
- 32.4.0
- 32.5.0
- 32.5.0.post1
- 32.5.1
- 32.6.0
- 32.6.0.post1
- 32.7.0
- 32.8.0
- 32.8.1
- 32.8.2
- 32.8.3
- 32.8.4
- 32.8.5
- 32.8.6
- 33.0.0
- 33.0.0rc1
- 33.0.0rc2
- 33.0.0rc3
- 33.1.0
- 33.2.0
- 33.2.1
- 33.3.0
- 33.4.0
- 33.4.0.post1
- 33.5.0
- 33.6.0
- 33.6.1
- 34.0.0
- 34.0.0rc1
- 34.0.0rc2
- 34.1.0
- 34.2.0
- 34.3.0
- 34.4.0
- 34.4.1
- 34.4.2
- 34.4.3
- 34.5.0
- 34.6.0
- 35.0.0
- 35.0.0rc1
- 35.0.0rc2
- 35.0.1
- 35.1.0
- 35.1.1
- 35.2.0
- 35.2.1
- 35.3.0
- 35.4.0
- 35.4.1
- 35.5.0
- 35.6.0
- 35.6.1
- 35.7.0
- 35.8.0
- 35.8.1
- 35.8.2
- 35.8.3
- 35.8.4
- 36.0.0
- 36.0.0.post1
- 36.0.0.post2
- 36.1.0
- 36.2.0
- 36.3.0
- 36.4.0
- 36.5.0
- 37.0.0
- 37.0.0rc1
- 37.0.0rc2
- 37.0.0rc3
- 37.0.0rc4
- 37.1.0
- 37.1.0.post1
- 37.2.0
- 37.3.0
- 37.4.0
- 37.5.0
- 37.6.0
- 37.7.0
- 37.7.1
- 38.0.0
- 38.0.0rc1
- 38.0.0rc2
- 38.0.0rc3
- 38.1.0
- 38.2.0
- 38.3.0
- 38.4.0
- 38.5.0
- 38.5.1
- 38.5.2
- 38.5.3
- 38.5.4
- 39.0.0
- 39.1.0
- 39.2.0
- 39.3.0
- 39.3.1
- 39.4.0
- 39.4.1
- 40.0.0
- 40.1.0
- Affected ranges
- ECOSYSTEM: ≥ 1.27.0, < 35.8.5 ∪ ≥ 36.0.0, < 38.5.5 ∪ ≥ 39.0.0, < 39.4.2 ∪ ≥ 40.0.0, < 40.1.1
Update to 35.8.5; Update to 38.5.5; Update to 39.4.2; Update to 40.1.1