CVE-2026-2361 Privilege escalation in PostgreSQL Anonymizer

High 8.0 Published Updated

Users with CREATE privileges can gain superuser access by exploiting improper search_path handling in the PostgreSQL Anonymizer extension.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-2361?

CVE-2026-2361 is a high-severity vulnerability in DALIBO PostgreSQL Anonymizer, published on 11 Feb 2026. An attacker needs administrator access to exploit it, with no action from the victim.

Official 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

Weakness: CWE-427

Which versions are affected by CVE-2026-2361?

How do I fix CVE-2026-2361?

No fix has been published for CVE-2026-2361 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-2361 being exploited?

There is no known exploitation of CVE-2026-2361 in the wild and no public exploit code.

Sources

Also known as GHSA-xcpc-ffvj-qvhw, UBUNTU-CVE-2026-2361.

Is CVE-2026-2361 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free