{"id":"CVE-2026-11945","summary":"PostgreSQL Anonymizer: SQL injection in the rules import functions","details":"PostgreSQL Anonymizer contains a vulnerability that allows a user to gain superuser privileges by creating a JSON document and placing malicious code inside a particular key-value pair. If a superuser calls the import_database_rules() or import_roles_rules() functions, the malicious code is executed with superuser privileges. The problem is resolved in PostgreSQL Anonymizer 3.1.1 and further versions","modified":"2026-07-08T07:59:45.602419846Z","published":"2026-06-11T15:53:24.223Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/11xxx/CVE-2026-11945.json","cwe_ids":["CWE-89"],"cna_assigner":"PostgreSQL"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/11xxx/CVE-2026-11945.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-11945"},{"type":"REPORT","url":"https://gitlab.com/dalibo/postgresql_anonymizer/-/issues/643"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.com/dalibo/postgresql_anonymizer","events":[{"introduced":"c79d5b610629a197f1eb4c868168c8cba9db4868"},{"fixed":"93c55744e9e5bdf4a18e88082dbfa0ad0ff22f10"}],"database_specific":{"cpe":"cpe:2.3:a:dalibo:postgresql_anonymizer:*:*:*:*:*:postgresql:*:*","source":["AFFECTED_FIELD","CPE_RANGE"],"extracted_events":[{"introduced":"1"},{"fixed":"3.1.1"},{"introduced":"0"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-11945.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H"}]}