CVE-2026-29090
Published:May 06, 2026
Updated:August 06, 2026
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.
Affected Packages
https://github.com/rucio/rucio.git (GITHUB):
Affected version(s) >=1.30.0 <35.8.5Fix Suggestion:
Update to version 35.8.5https://github.com/rucio/rucio.git (GITHUB):
Affected version(s) =40.1.0 <40.1.1Fix Suggestion:
Update to version 40.1.1https://github.com/rucio/rucio.git (GITHUB):
Affected version(s) >=38.5.0 <38.5.5Fix Suggestion:
Update to version 38.5.5https://github.com/rucio/rucio.git (GITHUB):
Affected version(s) >=39.4.0 <39.4.2Fix Suggestion:
Update to version 39.4.2rucio (PYTHON):
Affected version(s) >=40.0.0 <40.1.1Fix Suggestion:
Update to version 40.1.1rucio (PYTHON):
Affected version(s) >=1.30.0 <35.8.5Fix Suggestion:
Update to version 35.8.5rucio (PYTHON):
Affected version(s) >=39.4.0 <39.4.2Fix Suggestion:
Update to version 39.4.2rucio (PYTHON):
Affected version(s) >=38.5.0 <38.5.5Fix Suggestion:
Update to version 38.5.5rucio (PYTHON):
Affected version(s) >=36.0.0 <38.5.5Fix Suggestion:
Update to version 38.5.5rucio (PYTHON):
Affected version(s) >=39.0.0 <39.4.2Fix Suggestion:
Update to version 39.4.2rucio (PYTHON):
Affected version(s) =40.1.0 <40.1.1Fix Suggestion:
Update to version 40.1.1Additional Notes
The description of this vulnerability differs from MITRE.
Related Resources (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
9
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
HIGH
Subsequent System Availability
HIGH
CVSS v3
Base Score:
9.9
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
EPSS
Base Score:
0.30