PostgreSQL Anonymizer contains a vulnerability that allows a user to gain superuser privileges by creating a custom operator in the public schema and place malicious code in that operator. This operator will later be executed with superuser privileges when the extension is created. 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 if a superuser adds a new schema in her/his own search_path and grants the CREATE privilege on that schema to untrusted users, both actions being clearly discouraged by the PostgreSQL documentation. The problem is resolved in PostgreSQL Anonymizer 3.0.1 and further versions
Description as published by the source, in English.
Key facts
Published
2026-02-11
Last modified
2026-06-17
Assigned by
f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
Scored by
f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
Probability of exploitation
0.4 %
higher than 34 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
The product uses a fixed or controlled search path to find resources, but one or more locations in that path can be under the control of unintended actors.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK.
This shows which techniques the weakness class is historically used for.
It does not assert that this vulnerability has been exploited that way.
T1574.001: DLL stealth, execution
T1574.004: Dylib Hijacking stealth, execution
T1574.007: Path Interception by PATH Environment Variable stealth, execution
T1574.008: Path Interception by Search Order Hijacking stealth, execution
T1574.009: Path Interception by Unquoted Path stealth, execution