CVE-2026-2361 Details
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
A vulnerability in PostgreSQL Anonymizer allows users to gain superuser privileges by creating temporary views based on functions with malicious code. This issue arises in PostgreSQL versions 15 and later, and in instances upgraded from version 14 or earlier, due to default permissions granted on the public schema. The vulnerability can be exploited by users with the CREATE privilege.
Users are advised to upgrade to PostgreSQL Anonymizer version 3.0.1 or later. For those using PostgreSQL 14 or earlier versions, be cautious of the default permissions granted on the public schema.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Feb 11, 2026CISA-ADP
Assessed Feb 11, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gitlab.com/dalibo/postgresql_anonymizer/-/blob/latest/NEWS.md | PostgreSQL | Release NotesVendor |
| https://gitlab.com/dalibo/postgresql_anonymizer/-/issues/617 | PostgreSQL | Broken LinkIssue TrackingVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-427 | Uncontrolled Search Path Element | PostgreSQL |
Affected Products
| Product | Versions |
|---|---|
| PostgreSQL Anonymizer | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | PostgreSQL |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 11, 2026 | New CVE Received | PostgreSQL |
Volerion