{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-11945",
        "assignerOrgId": "f86ef6dc-4d3a-42ad-8f28-e6d5547a5007",
        "state": "PUBLISHED",
        "assignerShortName": "PostgreSQL",
        "dateReserved": "2026-06-10T21:28:53.029Z",
        "datePublished": "2026-06-11T15:53:24.223Z",
        "dateUpdated": "2026-06-12T03:55:36.254Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "f86ef6dc-4d3a-42ad-8f28-e6d5547a5007",
                "shortName": "PostgreSQL",
                "dateUpdated": "2026-06-11T15:53:24.223Z"
            },
            "title": "PostgreSQL Anonymizer: SQL injection in the rules import functions",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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"
                }
            ],
            "affected": [
                {
                    "defaultStatus": "unaffected",
                    "product": "PostgreSQL Anonymizer",
                    "vendor": "DALIBO",
                    "versions": [
                        {
                            "lessThan": "3.1.1",
                            "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/643"
                }
            ],
            "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 Mehmet Ince for reporting this problem."
                }
            ]
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-06-11T00:00:00+00:00",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3",
                                "id": "CVE-2026-11945"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-06-12T03:55:36.254Z"
                }
            }
        ]
    }
}