CVE-2026-2361: Improper search_path protection in PostgreSQL Anonymizer 2.5 allows any user with create privilege to gain superuser privileges

Published Feb 11, 2026
·
Updated

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.gettablesampleratio 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

Affected Software

3 affected components
PostgreSQL Anonymizer>=2.5
PostgreSQL postgresql>15, <=14
PostgreSQL postgresql<14

Event History

Feb 11, 2026
CVE Published
via MITRE·05:48 PM
Data Sourced
via MITRE·05:48 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:16 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-2361?

CVE-2026-2361 is considered a high severity vulnerability due to its potential to grant superuser privileges to unauthorized users.

2

How do I fix CVE-2026-2361?

To fix CVE-2026-2361, you should upgrade PostgreSQL Anonymizer to a version that addresses this vulnerability.

3

Who is affected by CVE-2026-2361?

CVE-2026-2361 affects users of PostgreSQL Anonymizer version 2.5 and earlier versions of PostgreSQL up to 15.

4

What are the implications of CVE-2026-2361?

The implications of CVE-2026-2361 include unauthorized access to superuser privileges, which can lead to significant security breaches.

5

Can CVE-2026-2361 be exploited without being a superuser?

Yes, any user with create privilege can exploit CVE-2026-2361 to gain superuser privileges through creating a temporary view.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203