{"id":"CVE-2026-6476","aliases":["CVE-2026-6476","BIT-POSTGRESQL-2026-6476"],"related":[],"kind":"vulnerability","state":"published","title":"PostgreSQL pg_createsubscriber allows SQL injection via subscription name","summary":"SQL injection in PostgreSQL pg_createsubscriber allows an attacker with pg_create_subscription rights to execute arbitrary SQL as a superuser.  The attack takes effect when pg_createsubscriber next runs.  Within major versions 17 and 18, minor versions before PostgreSQL 18.4 and 17.10 are affected.  Versions before PostgreSQL 17 are unaffected.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"SQL injection in PostgreSQL pg_createsubscriber allows an attacker with pg_create_subscription rights to execute arbitrary SQL as a superuser.  The attack takes effect when pg_createsubscriber next runs.  Within major versions 17 and 18, minor versions before PostgreSQL 18.4 and 17.10 are affected.  Versions before PostgreSQL 17 are unaffected.","source":"cvelist"},{"lang":"es","text":"La inyección SQL en PostgreSQL pg_createsubscriber permite a un atacante con derechos de pg_create_subscription ejecutar SQL arbitrario como superusuario. El ataque surte efecto la próxima vez que se ejecute pg_createsubscriber. Dentro de las versiones principales 17 y 18, las versiones menores anteriores a PostgreSQL 18.4 y 17.10 están afectadas. Las versiones anteriores a PostgreSQL 17 no están afectadas.","source":"nvd"}],"published":"2026-05-14T13:00:11.865Z","modified":"2026-11-11T20:10:00.273Z","severity":{"scorer":"PostgreSQL","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":7.2,"rating":"HIGH"},"severities":[{"scorer":"PostgreSQL","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":7.2,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"type":"rpm","introduced":"18","fixed":"18.4","status":"affected"},{"type":"rpm","introduced":"17","fixed":"17.10","status":"affected"}],"product":"PostgreSQL","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"17.0","fixed":"17.10"},{"status":"affected","introduced":"18.0","fixed":"18.4"}],"vendor":"postgresql","product":"postgresql","cpe":"cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"17.0.0","status":"affected","fixed":"17.10.0"},{"type":"semver","introduced":"18.0.0","status":"affected","fixed":"18.4.0"}],"ecosystem":"Bitnami","package":"postgresql","purl":"pkg:bitnami/postgresql","source":"bitnami"}],"references":[{"url":"https://www.postgresql.org/support/security/CVE-2026-6476/","tags":["advisory","patch","vendor-advisory"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6476","tags":["web"],"sources":["bitnami"]}],"credits":["The PostgreSQL project thanks Yu Kunpeng for reporting this problem."],"assigner":"PostgreSQL","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-05-14T00:00:00.000Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-6476","url":"https://www.cve.org/CVERecord?id=CVE-2026-6476","licence":"CVE Terms of Use","modified":"2026-05-15T03:56:17.580Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-6476","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6476","licence":"Public domain","modified":"2026-11-11T20:10:00.273Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-POSTGRESQL-2026-6476","url":"https://osv.dev/vulnerability/BIT-POSTGRESQL-2026-6476","licence":"Apache-2.0","modified":"2026-09-08T08:48:04.887Z"}],"updatedAt":"2026-11-25T22:59:21.703Z","epss":{"score":0.00287,"percentile":0.22803,"date":"2026-12-02T12:00:21.000Z"}}