CVE-2026-6475 Affecting postgresql:18/postgresql-static package, versions <0:18.4-2.module_el9.8.0+280+5ad12178


Severity

Recommended
high

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.32% (24th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALMALINUX9-POSTGRESQL-17901082
  • published9 Jul 2026
  • disclosed16 Jun 2026

Introduced: 16 Jun 2026

NewCVE-2026-6475  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:9 postgresql:18/postgresql-static to version 0:18.4-2.module_el9.8.0+280+5ad12178 or higher.
This issue was patched in ALSA-2026:26204.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql:18/postgresql-static package and not the postgresql:18/postgresql-static package as distributed by AlmaLinux. See How to fix? for AlmaLinux:9 relevant fixed versions and status.

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 Base Scores

version 3.1