{"schemaVersion":3,"id":"CVE-2026-6476","aliases":["ALPINE-CVE-2026-6476","UBUNTU-CVE-2026-6476","DEBIAN-CVE-2026-6476"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2026-05-14T13:00:11.865Z","modified":"2026-05-15T03:56:17.580Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.2,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","exploitability":3.1,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","exploitability":3.1,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","exploitability":3.1,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00287,"percentile":0.19947,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00287},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00287,"percentile":0.19947}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00287,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00287,"percentile":0.19947}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","description":"The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/89.html"}],"affected":[{"vendor":"alpine","product":"postgresql17","name":"postgresql17","label":"postgresql17","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/postgresql17","purlType":"apk","versions":[{"text":"< 17.10-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 17.10-r0","eol":null,"hubHref":null},{"vendor":"alpine","product":"postgresql18","name":"postgresql18","label":"postgresql18","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/postgresql18","purlType":"apk","versions":[{"text":"< 18.4-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 18.4-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"postgresql-17","name":"postgresql-17","label":"postgresql-17","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/postgresql-17","purlType":"deb","versions":[{"text":"< 17.10-0+deb13u1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 17.10-0+deb13u1","eol":null,"hubHref":null},{"vendor":"debian","product":"postgresql-18","name":"postgresql-18","label":"postgresql-18","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/postgresql-18","purlType":"deb","versions":[{"text":"< 18.4-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 18.4-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"postgresql-10","name":"postgresql-10","label":"postgresql-10","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/postgresql-10","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"postgresql-12","name":"postgresql-12","label":"postgresql-12","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/postgresql-12","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"postgresql-14","name":"postgresql-14","label":"postgresql-14","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/postgresql-14","purlType":"deb","versions":[{"text":"< 14.23-0ubuntu0.22.04.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 14.23-0ubuntu0.22.04.1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"postgresql-16","name":"postgresql-16","label":"postgresql-16","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/postgresql-16","purlType":"deb","versions":[{"text":"< 16.14-0ubuntu0.24.04.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 16.14-0ubuntu0.24.04.1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"postgresql-17","name":"postgresql-17","label":"postgresql-17","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/postgresql-17","purlType":"deb","versions":[{"text":"< 17.10-0ubuntu0.25.10.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 17.10-0ubuntu0.25.10.1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"postgresql-18","name":"postgresql-18","label":"postgresql-18","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/postgresql-18","purlType":"deb","versions":[{"text":"< 18.4-0ubuntu0.26.04.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 18.4-0ubuntu0.26.04.1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"postgresql-9.3","name":"postgresql-9.3","label":"postgresql-9.3","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/postgresql-9.3","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"postgresql-9.5","name":"postgresql-9.5","label":"postgresql-9.5","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/postgresql-9.5","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"postgresql","product":"postgresql","name":"postgresql","label":"postgresql","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 17.0, < 17.10","noFixRecorded":false,"fixedIn":null},{"text":"≥ 18.0, < 18.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 17.0, < 17.10 | ≥ 18.0, < 18.4","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"postgresql","label":"PostgreSQL","category":"database"}},"hubHref":"/vendor/postgresql/postgresql"}],"affectedCount":13,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.postgresql.org/support/security/CVE-2026-6476/","label":"www.postgresql.org/support/security/CVE-2026-6476/","hostname":"www.postgresql.org","tags":["REPORT","Patch","Vendor Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2026-6476","label":"security.alpinelinux.org/vuln/CVE-2026-6476","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-6476","label":"ubuntu.com/security/CVE-2026-6476","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-6476","label":"www.cve.org/CVERecord?id=CVE-2026-6476","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://www.postgresql.org/about/news/postgresql-184-1710-1614-1518-and-1423-released-3297/","label":"www.postgresql.org/about/news/postgresql-184-1710-1614-1518-and-1423-released-3297/","hostname":"www.postgresql.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8294-1","label":"ubuntu.com/security/notices/USN-8294-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-6476","label":"security-tracker.debian.org/tracker/CVE-2026-6476","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["MGASA-2026-0151","OPENSUSE-SU-2026:10809-1","OPENSUSE-SU-2026:10828-1","OPENSUSE-SU-2026:20970-1","RHSA-2026:22878","RHSA-2026:26204","RHSA-2026:27742","RHSA-2026:67280","RHSA-2026:67848","SUSE-SU-2026:22077-1","SUSE-SU-2026:22149-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:10809-1","OPENSUSE-SU-2026:10828-1","OPENSUSE-SU-2026:20970-1","SUSE-SU-2026:22077-1","SUSE-SU-2026:22149-1","USN-8294-1"]},"timeline":[{"kind":"published","date":"2026-05-14T13:00:11.865Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-05-15T03:56:17.580Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":29,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T12:10:29.984Z","stale":false,"partial":false}}