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:24.223Z
Modified
2026-07-08T07:59:45.602419846Z
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 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

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

Affected packages

Git / gitlab.com/dalibo/postgresql_anonymizer

Affected ranges

Type
GIT
Repo
https://gitlab.com/dalibo/postgresql_anonymizer
Events
Database specific
{
    "source": [
        "AFFECTED_FIELD",
        "CPE_RANGE"
    ],
    "cpe": "cpe:2.3:a:dalibo:postgresql_anonymizer:*:*:*:*:*:postgresql:*:*",
    "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"