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 importdatabaserules() or importrolesrules() functions, the malicious code is executed with superuser privileges. The problem is resolved in PostgreSQL Anonymizer 3.1.1 and further versions
{
"cna_assigner": "PostgreSQL",
"cwe_ids": [
"CWE-89"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/11xxx/CVE-2026-11945.json"
}{
"extracted_events": [
{
"introduced": "1"
},
{
"fixed": "3.1.1"
},
{
"introduced": "0"
}
],
"source": [
"AFFECTED_FIELD",
"CPE_RANGE"
],
"cpe": "cpe:2.3:a:dalibo:postgresql_anonymizer:*:*:*:*:*:postgresql:*:*"
}