High severity · published Feb 11, 2026
CVE-2026-2361
Improper search_path protection in PostgreSQL Anonymizer 2.5 allows any user with create privilege to gain superuser privileges
8.0
CVSS
0.3%
EPSS
No
On KEV
Description
PostgreSQL Anonymizer contains a vulnerability that allows a user to gain superuser privileges by creating a temporary view based on a function containing malicious code. When the anon.get_tablesample_ratio function is then called, the malicious code is executed with superuser privileges. This privilege elevation can be exploited by users having the CREATE privilege in PostgreSQL 15 and later. The risk is higher with PostgreSQL 14 or with instances upgraded from PostgreSQL 14 or a prior version because the creation permission on the public schema is granted by default. The problem is resolved in PostgreSQL Anonymizer 3.0.1 and further versions
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
Attack vector
Network
Complexity
High
Privileges
High
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 25% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PA
PostgreSQL Anonymizer · DALIBO
1 before 3.0.1 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-2361
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-2361
gitlab.com
https://gitlab.com/dalibo/postgresql_anonymizer/-/blob/latest/NEWS.md
gitlab.com
https://gitlab.com/dalibo/postgresql_anonymizer/-/issues/617
More from PostgreSQL Anonymizer
8.8
CVE-2026-19633
PostgreSQL Anonymizer: unprivileged masked users can execute code via operators, domain casts and view subqueries
8.8
CVE-2026-9617
PostgreSQL Anonymizer: malicious column name allows SQL injection via anon.k_anonymity() function
8.0
CVE-2026-2360
Improper search_path protection in PostgreSQL Anonymizer 2.5 allows any user to gain superuser privileges in PostgreSQL 14
7.5
CVE-2026-11945
PostgreSQL Anonymizer: SQL injection in the rules import functions
6.5
CVE-2026-110181
PostgreSQL Anonymizer: Function declared with SQL-standard syntax leak anonymized data
