{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-29090","id":"CVE-2026-29090","title":"Rucio SQL injection in postgres_meta DID search path compromises PostgreSQL metadata database","description":"### Summary\n\nA 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,","descriptionLong":"### Summary\n\nA 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. \n\nDepending 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.","published":"2026-05-06T17:21:24.141Z","updated":"2026-11-13T02:30:35.608666008Z","reserved":"2026-03-03T21:54:06.707Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":9,"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","rating":"critical","source":"GitHub_M"},"metrics":[{"version":"4.0","score":9,"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","rating":"critical","source":"GitHub_M"},{"version":"4.0","score":9,"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","rating":"critical","source":"github.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"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","rating":"critical","source":"GitHub"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"OSV"}],"rating":"critical","products":["rucio"],"affectedProducts":[{"vendor":"rucio","product":"rucio","defaultStatus":null,"versions":[{"version":">= 1.30.0, < 35.8.5","status":"affected"},{"version":">= 35.9.0, < 38.5.5","status":"affected"},{"version":">= 38.6.0, < 39.4.2","status":"affected"},{"version":">= 40.0.0, < 40.1.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"rucio","purl":"pkg:pypi/rucio","ranges":[">=1.30.0 <35.8.5",">=36.0.0 <38.5.5",">=39.0.0 <39.4.2",">=40.0.0 <40.1.1"],"fixed":["35.8.5","38.5.5","39.4.2","40.1.1"],"advisory":"GHSA-6j7p-qjhg-9947"}],"cwes":["CWE-89"],"aliases":["GHSA-6j7p-qjhg-9947","PYSEC-2026-527"],"references":[{"url":"https://github.com/rucio/rucio/security/advisories/GHSA-6j7p-qjhg-9947","tags":["x_refsource_CONFIRM","Vendor Advisory","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/29xxx/CVE-2026-29090.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-29090","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-6j7p-qjhg-9947","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/rucio/PYSEC-2026-527.yaml","tags":["web"]},{"url":"https://github.com/rucio/rucio","tags":["package"]},{"url":"https://pypi.org/project/rucio","tags":["web","package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00301,"epssPercentile":0.23268,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-29090","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-29090","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-29090","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-6j7p-qjhg-9947","ok":true,"note":"GHSA-6j7p-qjhg-9947"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-29090","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}