CVE-2026-6475

high
Published 2026-05-14 · Modified 2026-05-18
CVSS v3
8.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v2
VIR risk
8.8

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.

Predictions

Exploit likelihood
92%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2026-6475

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2026-6475.html

vendor Authored 2026-05-27

Vendor advisory: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 — https://www.postgresql.org/support/security/CVE-2026-6475/

OS impact

OSVersionStatusFixed in
suse slesaffected
debian debianbullseyeaffected
debian debianforkyfixed18.4-1
debian debiansidfixed18.4-1
debian debiantrixiefixed17.10-0+deb13u1
debian debianbookwormfixed15.18-0+deb12u1

Application impact

VendorProductVersionsFixed
postgresql postgresqlpostgresql{"endExcluding":"14.23"}14.23

References

CWEs

CWE-61

Verify integrity in audit chain (admin only). AS-IS.