CVE-2026-11945

Source
https://cve.org/CVERecord?id=CVE-2026-11945
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-11945.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-11945
Published
2026-06-11T15:53:24Z
Modified
2026-10-28T02:30:53Z
Severity
  • 6.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
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

Database specific
{
    "cna_assigner": "PostgreSQL",
    "cwe_ids": [
        "CWE-89"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/11xxx/CVE-2026-11945.json"
}
References

Affected packages

Git / gitlab.com/dalibo/postgresql_anonymizer

Affected ranges

Type
GIT
Repo
https://gitlab.com/dalibo/postgresql_anonymizer
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "1"
                },
                {
                    "fixed": "3.1.1"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
        },
        {
            "cpe": "cpe:2.3:a:dalibo:postgresql_anonymizer:*:*:*:*:*:postgresql:*:*",
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "fixed": "3.1.1"
                }
            ],
            "source": "CPE_RANGE"
        }
    ]
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-11945.json"