2084AI Security Observatory

CVE

CVE-2026-6475

CVE-2026-6475HIGH 8.8EPSS 36%

CNA 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.

Affected versions

All PostgreSQL vulnerabilities →

  • ≥ 18.0, < 18.4Fixed in 18.4
  • ≥ 17.0, < 17.10Fixed in 17.10
  • ≥ 16.0, < 16.14Fixed in 16.14
  • ≥ 15.0, < 15.18Fixed in 15.18
  • < 14.23Fixed in 14.23

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.