CVE-2026-2361
Awaiting Analysis
Awaiting Analysis - Queue
Privilege Escalation via Malicious View in PostgreSQL Anonymizer
Publication date: 2026-02-11
Last updated on: 2026-02-12
Assigner: PostgreSQL
Description
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 Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| dalibo | postgresql_anonymizer | 3.0.1 |
| dalibo | postgresql_anonymizer | From 14.0 (inc) to 15.0 (inc) |
| postgresql_anonymizer | 3.0.1 | * |
| postgresql | 15 | * |
| postgresql | 14 | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-427 | 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. |