CVE-2026-6638: Postgresql 9.3 · SQL injection in PostgreSQL logical replication ALTER SUBSCRIPTION
Affects postgresql-9.3Source GCVE Database
Not known to be exploited · CVSS 3.7 Low · fixed in 14.23-0ubuntu0.22.04.1 : update postgresql-9.3 when convenient.
Data as of 24 Nov 2026, 20:12 UTC
Thin evidence
One scorer or none| CNA (PostgreSQL) | CVSS 3.1 | 3.7 |
|---|
- Patch
- Available – fixed in 14.23-0ubuntu0.22.04.1, 16.14-0ubuntu0.24.04.1, 17.10-0ubuntu0.25.10.1 +1
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 14 May 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.04 LTSpostgresql-18pkg:deb/ubuntu/postgresql-18?arch=source&distro=resoluteOther threats | Affected
| Fixed in
|
Ubuntu 25.10postgresql-17pkg:deb/ubuntu/postgresql-17?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSpostgresql-16pkg:deb/ubuntu/postgresql-16?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSpostgresql-14pkg:deb/ubuntu/postgresql-14?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu 20.04 LTSpostgresql-12pkg:deb/ubuntu/postgresql-12?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu Pro 18.04 LTSpostgresql-10pkg:deb/ubuntu/postgresql-10?arch=source&distro=esm-infra/bionicOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
SQL injection in PostgreSQL logical replication ALTER SUBSCRIPTION ... REFRESH PUBLICATION allows a subscriber table creator to execute arbitrary SQL with the subscription's publication-side credentials. The attack takes effect at the next REFRESH PUBLICATION. Within major versions 16, 17, and 18, minor versions before PostgreSQL 18.4, 17.10, and 16.14 are affected. Versions before PostgreSQL 16 are unaffected.
References
- ubuntu.com/security/CVE-2026-6638 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-6638 (opens in a new tab)
- postgresql.org/about/news/postgresql-184-1710-1614-1518-and-1423-released-3297/ (opens in a new tab)
- postgresql.org/support/security/CVE-2026-6638/ (opens in a new tab)
- ubuntu.com/security/notices/USN-8294-1 (opens in a new tab)