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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2026-6475— PostgreSQL pg_basebackup and pg_rewind can overwrite unrelated files of origin superuser choice

CVSS 8.8 · High EPSS 0.05% · P14

Affected Version Matrix 5

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

I. Basic Information for CVE-2026-6475

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 pg_basebackup and pg_rewind can overwrite unrelated files of origin superuser choice
Source: NVD (National Vulnerability Database)
Vulnerability Description
Symlink following in PostgreSQL pg_basebackup plain format and in pg_rewind allows an origin superuser to overwrite local files, e.g. /var/lib/postgres/.bashrc, that hijack the operating system account. It will remain the case that starting the server after these commands implicitly trusts the origin superuser, due to features like shared_preload_libraries. Hence, the attack has practical implications only if one takes relevant action between these commands and server start, like moving the files to a different VM or snapshotting the VM. Versions before PostgreSQL 18.4, 17.10, 16.14, 15.18, and 14.23 are affected.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Source: NVD (National Vulnerability Database)
Vulnerability Type
CWE-61
Source: NVD (National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
-PostgreSQL 18 ~ 18.4 -

II. Public POCs for CVE-2026-6475

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-6475

登录查看更多情报信息。

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-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-66383.7 LOWPostgreSQL REFRESH PUBLICATION allows SQL injection via table name
CVE-2026-24710CFEngine Enterprise 3.21.8前等多个版本XSS漏洞
CVE-2026-24711CFEngine 权限控制缺陷
CVE-2026-24712CFEngine Enterprise 命令注入漏洞
CVE-2026-38740Foscam VD1<5.3敏感信息明文传输
CVE-2025-69443coleam00 Archon 0.1.0远程代码执行漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-6475

No comments yet


Leave a comment