CVEFinder.io

CVE-2026-6475

⚠️ high
🔍 Scan for this CVE
Summary

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 fi

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.

CVSS Score
8.8
High
EPSS Score
0.1
Exploit Probability
Published Date
2026-05-14
First Seen: 2026-05-17
📊 Relative Risk Intelligence

This CVE is High Risk - more severe than 81.1% of all 327,306 vulnerabilities in our database.

#61,876
Top 25% most severe
Severity Percentile
🎯 CISA SSVC Assessment Updated: May 14, 2026
🔍 Exploitation Status
None
No known exploits
⚙️ Automatable
NO
Requires human interaction
💥 Technical Impact
Total
Complete system compromise possible
🏆 Discovered By
The PostgreSQL project thanks Valery Gubanov, XlabAI Team of Tencent Xuanwu Lab, Atuin Automated Vulnerability Discovery Engine, Zhanpeng Liu (pkugenuine(at)gmail(dot)com), Guannan Wang (wgnbuaa(at)gmail(dot)com), and Guancheng Li (lgcpku(at)gmail(dot)com) for reporting this problem.
SSVC data provided by CISA
Last Modified 2026-05-18
Source NVD 🔗
CVSS Vector 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CWE IDs (Weakness Types)

📦 Affected Products 5

🔗 References 1

🔗 Related CVEs 6

CVE ID Severity CVSS EPSS Summary Published
CVE-2026-6472 🔶 medium 5.4 0.0 Missing authorization in PostgreSQL CREATE TYPE allows an object creator to hijack other queries that use search_path to... 2026-05-14
CVE-2026-6473 ⚠️ high 8.8 0.1 Integer wraparound in multiple PostgreSQL server features allows an unprivileged database user to cause the server to un... 2026-05-14
CVE-2026-6474 🔶 medium 4.3 0.0 Externally-controlled format string in PostgreSQL timeofday() function allows an attacker to retrieve portions of server... 2026-05-14
CVE-2026-6476 ⚠️ high 7.2 0.0 SQL injection in PostgreSQL pg_createsubscriber allows an attacker with pg_create_subscription rights to execute arbitra... 2026-05-14
CVE-2026-6477 ⚠️ high 8.8 0.1 Use of inherently dangerous function PQfn(..., result_is_int=0, ...) in PostgreSQL libpq lo_export(), lo_read(), lo_lsee... 2026-05-14
CVE-2026-6478 🔶 medium 6.5 0.1 Covert timing channel in comparison of MD5-hashed password in PostgreSQL authentication allows an attacker to recover us... 2026-05-14
These CVEs affect the same products