CVE-2026-6475Postgresql
High 8.8 No auth needed
Follow: this CVE · Postgresql · Postgresql We alert you by email or Slack (account required).
- Priority
- 68
- CVSS 3.1
- 8.8
- EPSS
- —
- Auth required
- No
- Published
- May 14, 2026
- Updated
- Nov 11, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-61
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Postgresql.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| postgresql | postgresql | < 14.23 |
| postgresql | postgresql | ≥ 15.0 < 15.18 |
| postgresql | postgresql | ≥ 16.0 < 16.14 |
| postgresql | postgresql | ≥ 17.0 < 17.10 |
| postgresql | postgresql | ≥ 18.0 < 18.4 |
Official advisories
- Red Hat Security Advisory: libpq security update · Red Hat · RHSA-2026:44420 · Jul 24, 2026 High
- Red Hat Security Advisory: postgresql:13 security update · Red Hat · RHSA-2026:42555 · Jul 23, 2026 High
- Red Hat Security Advisory: libpq security update · Red Hat · RHSA-2026:35880 · Jul 6, 2026 High
- Security update for postgresql16 · SUSE · openSUSE-SU-2026:21104-1 · Jun 19, 2026 High
- Security update for postgresql15 · SUSE · openSUSE-SU-2026:21103-1 · Jun 19, 2026 High
- Security update for postgresql16 · SUSE · SUSE-SU-2026:22184-1 · Jun 19, 2026 High
Also: Red Hat (+28), SUSE (+11)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- www.postgresql.org Patch Vendor Advisory