# CVE-2026-9617: PostgreSQL Anonymizer: malicious column name allows SQL injection via anon.k_anonymity() function

- Severity: Medium 6.8 (CVSS:3.1, scored by PostgreSQL) `CVSS:3.1/AV:N/AC:L/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.27%, higher than 21% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-27T13:55:10.863Z
- 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 table and placing malicious code inside a column identifier. If a superuser calls the k-anonymity function, the malicious code is executed with superuser privileges. The risk is higher with PostgreSQL 14 or with instances upgraded from PostgreSQL 14 or a prior version. With PostgreSQL 15 and later, the creation permission on the public schema is revoked by default and this exploit can only be achieved by a user who was explicitly granted the CREATE TABLE privilege. The problem is resolved in PostgreSQL Anonymizer 3.1.0 and further versions

(As written by CVE List.)

## Affected

- DALIBO PostgreSQL Anonymizer: from 1 before 3.1.0
- dalibo anonymizer: 2.5.1

## Every score

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

## References

- <https://gitlab.com/dalibo/postgresql_anonymizer/-/issues/640> (exploit, issue-tracking, third-party-advisory)

## Sources

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

---

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