{"id":"CVE-2026-19634","state":"PUBLISHED","title":"PostgreSQL Anonymizer: SQL injection in import_database_rules() and import_roles_rules() via crafted object names / JSON","description":"PostgreSQL Anonymizer contains a SQL injection vulnerability in two import functions. A user can create a malicious JSON document containing specially crafted object names. If a superuser subsequently calls anon.import_database_rules() or anon.import_roles_rules(), the malicious code is executed with superuser privileges. The issue is fixed in PostgreSQL Anonymizer 3.1.4 and later","publishedAt":"2026-09-06T15:25:36.947Z","updatedAt":"2026-09-09T04:26:02.535Z","severity":{"score":6.4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H","source":"PostgreSQL"},"assigner":"PostgreSQL","products":["DALIBO PostgreSQL Anonymizer"],"affected":[{"vendor":"DALIBO","product":"PostgreSQL Anonymizer","defaultStatus":"unaffected","versions":[{"version":"1","status":"affected","lessThan":"3.1.4","versionType":"semver"}]}],"references":["https://gitlab.com/dalibo/postgresql_anonymizer/-/issues/665"],"weaknesses":["CWE-89"],"ingestedAt":"2026-10-29T20:11:10.572Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/19xxx/CVE-2026-19634.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-19634","state":"PUBLISHED","datePublished":"2026-09-06T15:25:36.947Z","dateUpdated":"2026-09-09T04:26:02.535Z","assignerShortName":"PostgreSQL","assignerOrgId":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","dateReserved":"2026-08-12T16:09:10.091Z"},"containers":{"cna":{"title":"PostgreSQL Anonymizer: SQL injection in import_database_rules() and import_roles_rules() via crafted object names / JSON","descriptions":[{"lang":"en","value":"PostgreSQL Anonymizer contains a SQL injection vulnerability in two import functions. A user can create a malicious JSON document containing specially crafted object names. If a superuser subsequently calls anon.import_database_rules() or anon.import_roles_rules(), the malicious code is executed with superuser privileges. The issue is fixed in PostgreSQL Anonymizer 3.1.4 and later"}],"affected":[{"vendor":"DALIBO","product":"PostgreSQL Anonymizer","defaultStatus":"unaffected","versions":[{"version":"1","status":"affected","lessThan":"3.1.4","versionType":"semver"}]}],"references":[{"url":"https://gitlab.com/dalibo/postgresql_anonymizer/-/issues/665"}],"metrics":[{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H","baseScore":6.4,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-89","lang":"en","type":"CWE","description":"Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')"}]}],"providerMetadata":{"shortName":"PostgreSQL","orgId":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","dateUpdated":"2026-09-06T15:25:36.947Z"},"workarounds":[{"lang":"en","value":"Remove the rules import functions named `anon.import_roles_rules()` and `anon.import_database_rules()`. They are user-facing functions with no internal dependencies."}],"credits":[{"lang":"en","value":"The PostgreSQL Anonymizer project thanks user Sarath Kumar for reporting this problem."}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-08T00:00:00+00:00","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3","id":"CVE-2026-19634"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-09T04:26:02.535Z"}}]}}}