PostgreSQL Anonymizer Vulnerability Allowing Superuser Privileges
CVE-2026-2360
8HIGH
What is CVE-2026-2360?
The PostgreSQL Anonymizer has a vulnerability that allows a malicious user to gain superuser privileges by creating a custom operator within the public schema. By embedding harmful code in this operator, it can be executed with elevated privileges upon creation of the extension. This issue is particularly pronounced in PostgreSQL 14 or instances upgraded from earlier versions. It is mitigated in PostgreSQL 15 and later, where the ability to create new operators in the public schema is revoked by default, although risks remain if superusers improperly configure search paths. The issue is addressed in PostgreSQL Anonymizer version 3.0.1 and subsequent releases.
Affected Version(s)
PostgreSQL Anonymizer 1 < 3.0.1
References
CVSS V3.1
Score:
8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
High
User Interaction:
None
Scope:
Changed
Timeline
Vulnerability published
Vulnerability Reserved
Credit
The PostgreSQL Anonymizer project thanks Daniel Bakker for reporting this problem.
