CVE Watchtower

CVE-2026-6638Postgresql Postgresql SQL Injection

NVDCVSS scored by f86ef6dc-4d3a-42ad-8f28-e6d5547a5007

Vulnerability Summary

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.
Severity Level
LOW(3.7)
Published Date
May 14, 2026
Last Modified
Nov 11, 2026
Exploitation Status
No confirmed exploitation yet
EPSS Score (30-Day)
0.18%Probability
Root Weakness (CWE)
Improper neutralization of special elements used in an SQL command, allowing attackers to modify queries.
CVSS v3.1 Base Metrics — Score 3.7 (LOW)
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredLow
User InteractionRequired
ScopeUnchanged
ConfidentialityLow
IntegrityLow
AvailabilityNone

Affected & Patched Versions

Affected Versions
  • Postgresql Postgresql >= 16.0 and < 16.14
  • Postgresql Postgresql >= 17.0 and < 17.10
  • Postgresql Postgresql >= 18.0 and < 18.4
Patched Versions
  • Postgresql Postgresql 16.14
  • Postgresql Postgresql 17.10
  • Postgresql Postgresql 18.4

What to do

Fix it during your normal patch cycle. No exploitation is confirmed yet.

  1. Check whether you run Postgresql Postgresql and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • May 14, 2026Published
  • Nov 11, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Postgresql Postgresql CVEsYou are reading CVE-2026-6638. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 19, 2026 04:06 UTC