All vulnerabilities

Servers and applications

CVE-2026-6475

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…

Severity
High 8.8
Published
14 May 2026
Last changed
17 Jun 2026
Added to UpHeron
16 Oct 2026
Fixed in
14.23, 15.18, 16.14, 17.10, 18.4
Sources
NVD

Affected software

SoftwareAffected versions
PostgreSQLServers and applications · cpe:a:postgresql:postgresql
  • Every version before 14.23
  • From 15.0 before 15.18
  • From 16.0 before 16.14
  • From 17.0 before 17.10
  • From 18.0 before 18.4

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-6475
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-6475