{"id":"CVE-2026-9617","published":"2026-05-27T13:55:10Z","modified":"2026-05-28T03:55:32Z","title":"PostgreSQL Anonymizer: malicious column name allows SQL injection via anon.k_anonymity() function","vendor":"DALIBO","product":"PostgreSQL Anonymizer","tier":"tail","description":{"text":"PostgreSQL Anonymizer contains a vulnerability that allows a user to gain superuser privileges by creating a table and placing malicious code inside a column identifier. If a superuser calls the k-anonymity function, the malicious code is executed with superuser privileges. The risk is higher with PostgreSQL 14 or with instances upgraded from PostgreSQL 14 or a prior version. With PostgreSQL 15 and later, the creation permission on the public schema is revoked by default and this exploit can only be achieved by a user who was explicitly granted the CREATE TABLE privilege. The problem is resolved in PostgreSQL Anonymizer 3.1.0 and further versions","provenance":"source","from":"CVE.org"},"cvss":{"score":6.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00273,"percentile":0.2013,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://gitlab.com/dalibo/postgresql_anonymizer/-/issues/640","tags":[]}],"priority":{"score":8.8,"factors":[{"name":"EPSS percentile","points":4.03},{"name":"CVSS severity","points":4.76}]},"vendorSlug":"dalibo","affectedVersions":[{"vendor":"DALIBO","product":"PostgreSQL Anonymizer","versions":[">= 1, < 3.1.0"]}],"workarounds":{"items":["Remove the k_anonymity feature with 'DROP FUNCTION anon.k_anonymity();'. This is a user-facing function with no internal dependencies."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-05-27T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-32504","exploited":false,"provenance":"source"}}