CVE-2026-6638
PostgreSQL REFRESH PUBLICATION allows SQL injection via table name
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.
No summary for this CVE yet.
CVSS Vector Breakdown
Exploitability
AV:NAttack VectorNetwork
AC:HAttack ComplexityHigh
PR:LPrivileges RequiredLow
UI:RUser InteractionRequired
Scope
S:UScopeUnchanged
Impact
C:LConfidentialityLow
I:LIntegrityLow
A:NAvailabilityNone
Weaknesses
Affected Products
Novell Inc.
commercial·US
АО «ИВК»
commercial·RUaka ivk
Сообщество свободного программного обеспечения
oss-projectaka fsf
Postgres Professional
commercialaka postgres pro enterprise, postgres pro certified
PostgreSQL Global Development Group
oss-project·USaka postgresql
ООО «Тантор Лабс»
commercial·RU
and 3 more affected products View all →
Exploitability
Official Patch Available
Attack Graph
Products CVE Techniques Tactics
Click technique nodes for MITRE ATT&CK details · drag to pan · Ctrl/⌘ + scroll to zoom, or go fullscreen.
MITRE ATT&CK
1 technique Initial Access
References
https://www.postgresql.org/support/security/CVE-2026-6638/
postgresql.org
https://www.postgresql.org/about/news/postgresql-184-1710-1614-1518-and-1423-released-3297/
postgresql.org
https://security-tracker.debian.org/tracker/CVE-2026-6638
security-tracker.debian.org
and 4 more references View all →
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2026-6638 and every CVE in our database. Create a free account — no credit card required.
Create Free AccountPlain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows
