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.
CVE-2026-6475
Score 8.8 from GitHub Security Advisory (severity: HIGH) published 2026-05-14. NVD baseline CVSS 8.8; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 8.8
- EG Score
- 8.8(medium)
- EPSS
- 24.3%
- KEV
- Not listed
Published
May 14, 2026
Last Modified
May 18, 2026
Advisory Details (1)
Auto-updated May 14, 2026PostgreSQL: CVE-2026-6475: PostgreSQL pg_basebackup and pg_rewind can overwrite unrelated files of origin superuser choice
https://www.postgresql.org/support/security/CVE-2026-6475/Vendor Advisories for CVE-2026-6475(20)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2026:34362Red Hat Product SecurityHigh
Red Hat Security Advisory: postgresql:12 security update
- RHSA-2026:34363Red Hat Product SecurityHigh
Red Hat Security Advisory: postgresql:13 security update
- RHSA-2026:34043Red Hat Product SecurityHigh
Red Hat Security Advisory: postgresql:12 security update
- RHSA-2026:33497Red Hat Product SecurityHigh
Red Hat Security Advisory: postgresql:15 security update
- RHSA-2026:33441Red Hat Product SecurityHigh
Red Hat Security Advisory: postgresql:15 security update
- RHSA-2026:32983Red Hat Product SecurityHigh
Red Hat Security Advisory: postgresql:15 security update
- RHSA-2026:32994Red Hat Product SecurityHigh
Red Hat Security Advisory: postgresql:13 security update
- RHSA-2026:29953Red Hat Product SecurityHigh
Red Hat Security Advisory: postgresql security update
- +12 more
Patch Availability(19)
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(7)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Microsoft MSRCCVE-2026-64752026-05-16
PostgreSQL pg_basebackup and pg_rewind can overwrite unrelated files of origin superuser choice
- Red HatRHSA-2026:21182MODERATE2026-05-14
RHSA-2026:21182 — Moderate
- Red HatRHSA-2026:22878MODERATE2026-05-14
RHSA-2026:22878 — Moderate
- Red HatRHSA-2026:26181MODERATE2026-05-14
RHSA-2026:26181 — Moderate
- Red HatRHSA-2026:26203MODERATE2026-05-14
RHSA-2026:26203 — Moderate
- Red HatRHSA-2026:26204MODERATE2026-05-14
RHSA-2026:26204 — Moderate
- UbuntuUSN-8294-1MEDIUM
PostgreSQL vulnerabilities
Data Freshness Timeline
(refreshed 10× in last 7d / 119× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 183 total refreshes for this CVE.
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 02:31 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-01 15:07 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-29 21:56 UTCEG score recompute
- 2026-06-29 21:56 UTCVendor advisory
- 2026-06-29 21:56 UTCGHSA enrichment
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 11:25 UTCEG score recompute
- 2026-06-28 11:25 UTCVendor advisory
- 2026-06-28 11:25 UTCGHSA enrichment
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-27 22:51 UTCEG score recompute
- 2026-06-27 22:51 UTCVendor advisory
- 2026-06-27 22:51 UTCGHSA enrichment
- 2026-06-27 08:07 UTCEG score recompute
- 2026-06-27 08:07 UTCVendor advisory
- 2026-06-27 08:07 UTCGHSA enrichment
Show 75 moreShow fewer
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-26 20:24 UTCEG score recompute
- 2026-06-26 20:24 UTCVendor advisory
- 2026-06-26 20:24 UTCGHSA enrichment
- 2026-06-25 19:18 UTCEG score recompute
- 2026-06-25 19:18 UTCVendor advisory
- 2026-06-25 19:18 UTCGHSA enrichment
- 2026-06-25 13:50 UTCEPSS rescore
- 2026-06-24 14:05 UTCEPSS rescore
- 2026-06-23 21:33 UTCEPSS rescore
- 2026-06-23 21:33 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-19 19:26 UTCEPSS rescore
- 2026-06-19 19:26 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-17 17:53 UTCEPSS rescore
- 2026-06-17 13:57 UTCEG score recompute
- 2026-06-17 13:57 UTCVendor advisory
- 2026-06-17 13:57 UTCGHSA enrichment
- 2026-06-16 22:43 UTCEG score recompute
- 2026-06-16 22:43 UTCVendor advisory
- 2026-06-16 22:43 UTCGHSA enrichment
- 2026-06-16 17:53 UTCEPSS rescore
- 2026-06-16 11:24 UTCEG score recompute
- 2026-06-16 11:24 UTCVendor advisory
- 2026-06-16 11:24 UTCGHSA enrichment
- 2026-06-16 00:06 UTCEG score recompute
- 2026-06-16 00:06 UTCVendor advisory
- 2026-06-16 00:06 UTCGHSA enrichment
- 2026-06-15 17:49 UTCEPSS rescore
- 2026-06-15 17:49 UTCEPSS rescore
- 2026-06-14 23:18 UTCEPSS rescore
- 2026-06-14 22:03 UTCEG score recompute
- 2026-06-14 22:03 UTCVendor advisory
- 2026-06-14 22:03 UTCGHSA enrichment
- 2026-06-14 10:49 UTCEG score recompute
- 2026-06-14 10:49 UTCVendor advisory
- 2026-06-14 10:49 UTCGHSA enrichment
- 2026-06-13 23:34 UTCEG score recompute
- 2026-06-13 23:34 UTCVendor advisory
- 2026-06-13 23:34 UTCGHSA enrichment
- 2026-06-13 23:00 UTCEPSS rescore
- 2026-06-13 04:30 UTCEG score recompute
- 2026-06-13 04:30 UTCVendor advisory
- 2026-06-13 04:30 UTCGHSA enrichment
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 16:28 UTCEG score recompute
- 2026-06-12 16:28 UTCVendor advisory
- 2026-06-12 16:28 UTCGHSA enrichment
- 2026-06-12 04:06 UTCEG score recompute
- 2026-06-12 04:06 UTCVendor advisory
- 2026-06-12 04:06 UTCGHSA enrichment
- 2026-06-11 16:51 UTCEG score recompute
- 2026-06-11 16:51 UTCVendor advisory
- 2026-06-11 16:51 UTCGHSA enrichment
- 2026-06-11 14:00 UTCEPSS rescore
- 2026-06-11 04:05 UTCEG score recompute
- 2026-06-11 04:05 UTCVendor advisory
- 2026-06-11 04:05 UTCGHSA enrichment
- 2026-06-10 22:19 UTCEPSS rescore
- 2026-06-10 16:51 UTCEG score recompute
- 2026-06-10 16:51 UTCVendor advisory
- 2026-06-10 16:51 UTCGHSA enrichment
- 2026-06-10 13:22 UTCEPSS rescore
- 2026-06-10 05:37 UTCEG score recompute
- 2026-06-10 05:37 UTCVendor advisory
- 2026-06-10 05:37 UTCGHSA enrichment
- 2026-06-09 18:23 UTCEG score recompute
Frequently asked(5)
What is CVE-2026-6475?
When was CVE-2026-6475 disclosed?
Is CVE-2026-6475 actively exploited?
What is the CVSS score of CVE-2026-6475?
How do I remediate CVE-2026-6475?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-6475
Is Your Infrastructure Affected by CVE-2026-6475?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.