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.
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:NAttack VectorNetwork
Attack ComplexityHigh
Privileges RequiredLow
User InteractionRequired
ScopeUnchanged
ConfidentialityLow
IntegrityLow
AvailabilityNone
Affected & Patched Versions
- Postgresql Postgresql >= 16.0 and < 16.14
- Postgresql Postgresql >= 17.0 and < 17.10
- Postgresql Postgresql >= 18.0 and < 18.4
- 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.
- Check whether you run Postgresql Postgresql and which version.
- 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 alertsRelated Coverage
External References
Data last checked: Nov 19, 2026 04:06 UTC