{
  "id": "CVE-2026-11945",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-11945",
  "published_at": "2026-06-11T15:53:24.223Z",
  "title": "PostgreSQL Anonymizer: SQL injection in the rules import functions",
  "vendor": "DALIBO",
  "product": "PostgreSQL Anonymizer",
  "cvss": {
    "score": 7.5,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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",
  "cwe": "CWE-89",
  "cpes": [
    "cpe:2.3:a:dalibo:postgresql_anonymizer:*:*:*:*:*:postgresql:*:*"
  ],
  "cvss_by_source": {
    "cna": 6.4,
    "nvd": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "DALIBO",
        "product": "PostgreSQL Anonymizer",
        "ranges": [
          "\u003e= 1, \u003c 3.1.1"
        ],
        "fixed_in": [
          "3.1.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade PostgreSQL Anonymizer to 3.1.1 or later."
    ],
    "workarounds": [
      "Remove the rules import functions named `anon.import_roles_rules()` and `anon.import_database_rules()`. They are user-facing functions with no internal dependencies."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
