{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2026-19634", "assignerOrgId": "f86ef6dc-4d3a-42ad-8f28-e6d5547a5007", "state": "PUBLISHED", "assignerShortName": "PostgreSQL", "dateReserved": "2026-08-12T16:09:10.091Z", "datePublished": "2026-09-06T15:25:36.947Z", "dateUpdated": "2026-09-06T15:25:36.947Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "f86ef6dc-4d3a-42ad-8f28-e6d5547a5007", "shortName": "PostgreSQL", "dateUpdated": "2026-09-06T15:25:36.947Z" }, "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": [ { "defaultStatus": "unaffected", "product": "PostgreSQL Anonymizer", "vendor": "DALIBO", "versions": [ { "lessThan": "3.1.4", "status": "affected", "version": "1", "versionType": "semver" } ] } ], "problemTypes": [ { "descriptions": [ { "lang": "en", "cweId": "CWE-89", "type": "CWE", "description": "Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')" } ] } ], "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" } } ], "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." } ] } } }