cve.bz

CVE-2026-29090 cern rucio: SQL Injection

9.0 criticalEPSS 0.3%Fix available

Critical (9.0) in cern rucio. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in rucio 35.8.5, 38.5.5, 39.4.2.

On this page
### 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.

Severity

CVSS 4.0

9.0 critical
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

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 23rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-05-06. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-89 Improper Neutralization of Special Elements used in an SQL Command (SQL Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-29090 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-29090?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-29090?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-29090 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
cern:ruciofrom 1.30.0 before 35.8.5
cern:ruciofrom 36.0.0 before 38.5.5
cern:ruciofrom 39.0.0 before 39.4.2
cern:ruciofrom 40.0.0 before 40.1.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-6j7p-qjhg-9947PyPIrucio>=1.30.0 <35.8.535.8.5
GHSA-6j7p-qjhg-9947PyPIrucio>=36.0.0 <38.5.538.5.5
GHSA-6j7p-qjhg-9947PyPIrucio>=39.0.0 <39.4.239.4.2
GHSA-6j7p-qjhg-9947PyPIrucio>=40.0.0 <40.1.140.1.1
PYSEC-2026-527PyPIrucio>=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

Attack patterns (CAPEC)

  • CAPEC-7 Blind SQL Injection Likelihood: High · Severity: High
  • CAPEC-66 SQL Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High
  • CAPEC-109 Object Relational Mapping Injection Likelihood: Low · Severity: High
  • CAPEC-110 SQL Injection through SOAP Parameter Tampering Likelihood: High · Severity: Very High
  • CAPEC-470 Expanding Control over the Operating System from the Database Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON