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

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

Quick assessment

Affected
n/a PostgreSQL
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

PostgreSQL是PostgreSQL组织的一套自由的对象关系型数据库管理系统。该系统支持大部分SQL标准并且提供了许多其他特性,例如外键、触发器、视图等。 PostgreSQL 18.4之前版本、17.10之前版本、16.14之前版本、15.18之前版本和14.23之前版本存在安全漏洞,该漏洞源于pg_basebackup和pg_rewind中符号链接跟随,可能导致原始超级用户覆盖本地文件以劫持操作系统账户。

CVSS 8.8 · High EPSS 0.32% · P25

Affected Version Matrix 5

VendorProduct Version RangeStatus
n/a PostgreSQL 18< 18.4 affected
17< 17.10 affected
16< 16.14 affected
15< 15.18 affected
< 14.23 affected
Get alerts for future matching vulnerabilities Log 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: CVE Program / CVE List V5
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: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
CWE-61
Source: CVE Program / CVE List V5
Vulnerability Title
PostgreSQL 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
PostgreSQL是PostgreSQL组织的一套自由的对象关系型数据库管理系统。该系统支持大部分SQL标准并且提供了许多其他特性,例如外键、触发器、视图等。 PostgreSQL 18.4之前版本、17.10之前版本、16.14之前版本、15.18之前版本和14.23之前版本存在安全漏洞,该漏洞源于pg_basebackup和pg_rewind中符号链接跟随,可能导致原始超级用户覆盖本地文件以劫持操作系统账户。
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

Vendor Product Affected Versions CPE Subscribe
- PostgreSQL 18 ~ 18.4 -

II. Public POCs for CVE-2026-6475

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-6475

登录查看更多情报信息。

Vendor Advisories for CVE-2026-6475 (1)

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

CVE-2026-6473 8.8 HIGH PostgreSQL server undersizes allocations, via integer wraparound
CVE-2026-6477 8.8 HIGH PostgreSQL libpq lo_* functions let server superuser overwrite client stack memory
CVE-2026-6637 8.8 HIGH PostgreSQL refint allows stack buffer overflow and SQL injection
CVE-2026-6479 7.5 HIGH PostgreSQL SSL/GSS init causes denial of service, via uncontrolled recursion
CVE-2026-6476 7.2 HIGH PostgreSQL pg_createsubscriber allows SQL injection via subscription name
CVE-2026-6478 6.5 MEDIUM PostgreSQL discloses MD5-hashed passwords via covert timing channel
CVE-2026-6472 5.4 MEDIUM PostgreSQL CREATE TYPE does not check multirange schema CREATE privilege
CVE-2026-6474 4.3 MEDIUM PostgreSQL timeofday() can disclose portions of server memory
CVE-2026-6575 4.3 MEDIUM PostgreSQL pg_restore_attribute_stats accepts values that cause query planning to read pas
CVE-2026-6638 3.7 LOW PostgreSQL REFRESH PUBLICATION allows SQL injection via table name
CVE-2026-24710 Northern.tech CFEngine Enterprise 跨站脚本漏洞
CVE-2026-24711 Northern.tech CFEngine Enterprise 安全漏洞
CVE-2026-24712 Northern.tech CFEngine 安全漏洞
CVE-2026-38740 Foscam VD1 Video Doorbell 安全漏洞
CVE-2025-69443 Archon 安全漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-6475

No comments yet


Leave a comment