{"id":"CVE-2026-9617","aliases":["CVE-2026-9617"],"related":[],"kind":"vulnerability","state":"published","title":"PostgreSQL Anonymizer: malicious column name allows SQL injection via anon.k_anonymity() function","summary":"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","summarySource":"cvelist","descriptions":[{"lang":"en","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","source":"cvelist"},{"lang":"es","text":"PostgreSQL Anonymizer contiene una vulnerabilidad que permite a un usuario obtener privilegios de superusuario creando una tabla y colocando código malicioso dentro de un identificador de columna. Si un superusuario llama a la función k-anonymity, el código malicioso se ejecuta con privilegios de superusuario. El riesgo es mayor con PostgreSQL 14 o con instancias actualizadas desde PostgreSQL 14 o una versión anterior. Con PostgreSQL 15 y posteriores, el permiso de creación en el esquema público se revoca por defecto y este exploit solo puede ser logrado por un usuario al que se le concedió explícitamente el privilegio CREATE TABLE. El problema está resuelto en PostgreSQL Anonymizer 3.1.0 y versiones posteriores.","source":"nvd"}],"published":"2026-05-27T13:55:10.863Z","modified":"2026-10-26T11:10:00.157Z","severity":{"scorer":"PostgreSQL","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H","score":6.8,"rating":"MEDIUM"},"severities":[{"scorer":"PostgreSQL","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H","score":6.8,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"type":"semver","introduced":"1","fixed":"3.1.0","status":"affected"}],"vendor":"DALIBO","product":"PostgreSQL Anonymizer","source":"cvelist"},{"ranges":[{"status":"affected","version":"2.5.1"}],"vendor":"dalibo","product":"anonymizer","cpe":"cpe:2.3:a:dalibo:anonymizer:2.5.1:*:*:*:*:postgresql:*:*","source":"nvd"}],"references":[{"url":"https://gitlab.com/dalibo/postgresql_anonymizer/-/issues/640","tags":["exploit","issue-tracking","third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["The PostgreSQL Anonymizer project thanks user 'Buut' for reporting this problem."],"assigner":"PostgreSQL","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-05-27T00:00:00.000Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-9617","url":"https://www.cve.org/CVERecord?id=CVE-2026-9617","licence":"CVE Terms of Use","modified":"2026-05-28T03:55:32.305Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-9617","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-9617","licence":"Public domain","modified":"2026-10-26T11:10:00.157Z"}],"updatedAt":"2026-11-25T22:59:22.589Z","epss":{"score":0.00273,"percentile":0.21058,"date":"2026-12-01T12:00:22.000Z"}}