# CVE-2026-11945: PostgreSQL Anonymizer: SQL injection in the rules import functions

- Severity: Medium 6.4 (CVSS:3.1, scored by PostgreSQL) `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 21% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-11T15:53:24.223Z
- Modified: 2026-10-26T11:10:00.157Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: PostgreSQL

## 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

(As written by CVE List.)

## Affected

- DALIBO PostgreSQL Anonymizer: from 1 before 3.1.1
- dalibo postgresql_anonymizer: before 3.1.1

## Every score

- PostgreSQL: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://gitlab.com/dalibo/postgresql_anonymizer/-/issues/643> (exploit, issue-tracking, patch, vendor-advisory)

## Sources

- CVE List: [CVE-2026-11945](https://www.cve.org/CVERecord?id=CVE-2026-11945), CVE Terms of Use, modified 2026-06-12
- NVD: [CVE-2026-11945](https://nvd.nist.gov/vuln/detail/CVE-2026-11945), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-11945 · Whole record: https://cve.day/CVE-2026-11945.json · Rebuilt by cve.day 2026-11-25T22:59:24.431Z
