CVE Explorer
CVE-2026-2361
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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","product":"PostgreSQL Anonymizer","vendor":"DALIBO","versions":[{"lessThan":"3.0.1","status":"affected","version":"1","versionType":"rpm"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:422cbb04882c3e78006541622446d7b980286429239331d0f0e307366cca26e0 · sha256:0278cf15a2687b7c… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"baseScore":8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:422cbb04882c3e78006541622446d7b980286429239331d0f0e307366cca26e0 · sha256:0278cf15a2687b7c… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-427","description":"Uncontrolled Search Path Element","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:422cbb04882c3e78006541622446d7b980286429239331d0f0e307366cca26e0 · sha256:0278cf15a2687b7c… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"url":"https://gitlab.com/dalibo/postgresql_anonymizer/-/blob/latest/NEWS.md"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:422cbb04882c3e78006541622446d7b980286429239331d0f0e307366cca26e0 · sha256:0278cf15a2687b7c… · /containers/cna/references/0
{"url":"https://gitlab.com/dalibo/postgresql_anonymizer/-/issues/617"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:422cbb04882c3e78006541622446d7b980286429239331d0f0e307366cca26e0 · sha256:0278cf15a2687b7c… · /containers/cna/references/1
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.