Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1110 CNY

100%

CVE-2026-6638— PostgreSQL REFRESH PUBLICATION allows SQL injection via table name

CVSS 3.7 · Low EPSS 0.02% · P7

Possible ATT&CK Techniques 1AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 3

VendorProductVersion RangeStatus
n/aPostgreSQL18< 18.4affected
17< 17.10affected
16< 16.14affected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-6638

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
PostgreSQL REFRESH PUBLICATION allows SQL injection via table name
Source: NVD (National Vulnerability Database)
Vulnerability 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.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
Source: NVD (National Vulnerability Database)
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
Source: NVD (National Vulnerability Database)
Vulnerability Title
PostgreSQL SQL注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
PostgreSQL是PostgreSQL组织的一套自由的对象关系型数据库管理系统。该系统支持大部分SQL标准并且提供了许多其他特性,例如外键、触发器、视图等。 PostgreSQL 18.4之前版本、17.10之前版本和16.14之前版本存在SQL注入漏洞,该漏洞源于逻辑复制ALTER SUBSCRIPTION ... REFRESH PUBLICATION存在SQL注入,可能导致订阅表创建者以订阅的发布端凭据执行任意SQL。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
-PostgreSQL 18 ~ 18.4 -

II. Public POCs for CVE-2026-6638

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-6638

登录查看更多情报信息。

Vendor Advisories for CVE-2026-6638 (1)

Same Patch Batch · n/a · 2026-05-14 · 16 CVEs total

CVE-2026-66378.8 HIGHPostgreSQL refint allows stack buffer overflow and SQL injection
CVE-2026-64778.8 HIGHPostgreSQL libpq lo_* functions let server superuser overwrite client stack memory
CVE-2026-64758.8 HIGHPostgreSQL pg_basebackup and pg_rewind can overwrite unrelated files of origin superuser c
CVE-2026-64738.8 HIGHPostgreSQL server undersizes allocations, via integer wraparound
CVE-2026-64797.5 HIGHPostgreSQL SSL/GSS init causes denial of service, via uncontrolled recursion
CVE-2026-64767.2 HIGHPostgreSQL pg_createsubscriber allows SQL injection via subscription name
CVE-2026-64786.5 MEDIUMPostgreSQL discloses MD5-hashed passwords via covert timing channel
CVE-2026-64725.4 MEDIUMPostgreSQL CREATE TYPE does not check multirange schema CREATE privilege
CVE-2026-65754.3 MEDIUMPostgreSQL pg_restore_attribute_stats accepts values that cause query planning to read pas
CVE-2026-64744.3 MEDIUMPostgreSQL timeofday() can disclose portions of server memory
CVE-2026-24710Northern.tech CFEngine Enterprise 跨站脚本漏洞
CVE-2026-24711Northern.tech CFEngine Enterprise 安全漏洞
CVE-2026-24712Northern.tech CFEngine 安全漏洞
CVE-2026-38740Foscam VD1 Video Doorbell 安全漏洞
CVE-2025-69443Archon 安全漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-6638

No comments yet


Leave a comment