CVSS 3.1
8.8 highCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HHigh (8.8) in postgresql postgresql. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExplain CVE-2026-6475 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-6475?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-6475?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-6475 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| postgresql:postgresql | before 14.23 |
| postgresql:postgresql | from 15.0 before 15.18 |
| postgresql:postgresql | from 16.0 before 16.14 |
| postgresql:postgresql | from 17.0 before 17.10 |
| postgresql:postgresql | from 18.0 before 18.4 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | postgresql-13 | 13.23-0+deb11u4 | DLA-4646-1 |
| Debian | 12 | postgresql-15 | 15.18-0+deb12u1 | DEBIAN-CVE-2026-6475 DSA-6269-1 |
| Debian | 13 | postgresql-17 | 17.10-0+deb13u1 | DEBIAN-CVE-2026-6475 DSA-6270-1 |
| Debian | 14 | postgresql-18 | 18.4-1 | DEBIAN-CVE-2026-6475 |
| Ubuntu | 20.04:LTS | postgresql-12 | no fix listed | UBUNTU-CVE-2026-6475 |
| Ubuntu | 22.04:LTS | postgresql-14 | 14.23-0ubuntu0.22.04.1 | UBUNTU-CVE-2026-6475 USN-8294-1 |
| Ubuntu | 24.04:LTS | postgresql-16 | 16.14-0ubuntu0.24.04.1 | UBUNTU-CVE-2026-6475 USN-8294-1 |
| Ubuntu | 25.10 | postgresql-17 | 17.10-0ubuntu0.25.10.1 | UBUNTU-CVE-2026-6475 USN-8294-1 |
| Ubuntu | 26.04:LTS | postgresql-18 | 18.4-0ubuntu0.26.04.1 | UBUNTU-CVE-2026-6475 USN-8294-1 |
| Ubuntu | Pro:14.04:LTS | postgresql-9.3 | no fix listed | UBUNTU-CVE-2026-6475 |
| Ubuntu | Pro:16.04:LTS | postgresql-9.5 | no fix listed | UBUNTU-CVE-2026-6475 |
| Ubuntu | Pro:18.04:LTS | postgresql-10 | no fix listed | UBUNTU-CVE-2026-6475 |
| Red Hat | enterprise_linux:8::appstream | libpq, libpq-devel, libpq-debuginfo and 2 more | 0:13.23-2.el8_10 | RHSA-2026:27738 |
| Red Hat | enterprise_linux:8::appstream | pg_repack, pg_repack-debuginfo, pg_repack-debugsource | 0:1.4.6-3.module+el8.9.0+19330+c97ddbdf | RHSA-2026:28999 |
| Red Hat | enterprise_linux:8::appstream | pg_repack, pg_repack-debuginfo, pg_repack-debugsource | 0:1.4.6-3.module+el8.9.0+20664+9c30cf7f | RHSA-2026:28208 |
| Red Hat | enterprise_linux:8::appstream | pg_repack, pg_repack-debuginfo, pg_repack-debugsource | 0:1.4.8-1.module+el8.9.0+19797+c4ce5969 | RHSA-2026:26181 |
| Red Hat | enterprise_linux:8::appstream | pg_repack, pg_repack-debuginfo, pg_repack-debugsource | 0:1.5.1-1.module+el8.10.0+22551+c0330dc9 | RHSA-2026:28143 |
| Red Hat | enterprise_linux:8::appstream | pgaudit, pgaudit-debuginfo, pgaudit-debugsource | 0:1.4.0-7.module+el8.10.0+22214+9beb89d6 | RHSA-2026:28999 |
| Red Hat | enterprise_linux:8::appstream | pgaudit, pgaudit-debuginfo, pgaudit-debugsource | 0:1.5.0-1.module+el8.9.0+20664+9c30cf7f | RHSA-2026:28208 |
| Red Hat | enterprise_linux:8::appstream | pgaudit, pgaudit-debuginfo, pgaudit-debugsource | 0:1.7.0-1.module+el8.9.0+19797+c4ce5969 | RHSA-2026:26181 |
| Red Hat | enterprise_linux:8::appstream | pgaudit, pgaudit-debuginfo, pgaudit-debugsource | 0:16.0-1.module+el8.10.0+20413+d8116364 | RHSA-2026:28143 |
| Red Hat | enterprise_linux:8::appstream | postgres-decoderbufs, postgres-decoderbufs-debuginfo, postgres-decoderbufs-debugsource | 0:0.10.0-2.module+el8.9.0+19330+c97ddbdf | RHSA-2026:28999 |
| Red Hat | enterprise_linux:8::appstream | postgres-decoderbufs, postgres-decoderbufs-debuginfo, postgres-decoderbufs-debugsource | 0:0.10.0-2.module+el8.9.0+20664+9c30cf7f | RHSA-2026:28208 |
| Red Hat | enterprise_linux:8::appstream | postgres-decoderbufs, postgres-decoderbufs-debuginfo, postgres-decoderbufs-debugsource | 0:1.9.7-1.Final.module+el8.9.0+19797+c4ce5969 | RHSA-2026:26181 |
| 81 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Linux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0 | postgresql14 | 14.23-160000.1.1 | SUSE-SU-2026:22177-1 |
| SUSE | Linux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0 | postgresql15 | 15.18-160000.1.1 | SUSE-SU-2026:22183-1 |
| SUSE | Linux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0 | postgresql16 | 16.14-160000.1.1 | SUSE-SU-2026:22184-1 |
| SUSE | Linux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0 | postgresql17 | 17.10-160000.1.1 | SUSE-SU-2026:22149-1 |
| SUSE | Linux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0 | postgresql18 | 18.4-160000.1.1 | SUSE-SU-2026:22077-1 |
| openSUSE | Leap 16.0 | postgresql14 | 14.23-160000.1.1 | openSUSE-SU-2026:21102-1 |
| openSUSE | Leap 16.0 | postgresql15 | 15.18-160000.1.1 | openSUSE-SU-2026:21103-1 |
| openSUSE | Leap 16.0 | postgresql16 | 16.14-160000.1.1 | openSUSE-SU-2026:21104-1 |
| openSUSE | Leap 16.0 | postgresql17 | 17.10-160000.1.1 | openSUSE-SU-2026:20970-1 |
| openSUSE | Tumbleweed | postgresql14 | 14.23-1.1 | openSUSE-SU-2026:10806-1 |
| openSUSE | Tumbleweed | postgresql15 | 15.18-1.1 | openSUSE-SU-2026:10807-1 |
| openSUSE | Tumbleweed | postgresql16 | 16.14-1.1 | openSUSE-SU-2026:10808-1 |
| openSUSE | Tumbleweed | postgresql17 | 17.10-1.1 | openSUSE-SU-2026:10809-1 |
| openSUSE | Tumbleweed | postgresql18 | 18.4-1.1 | openSUSE-SU-2026:10828-1 |
| AlmaLinux | 8 | libpq, libpq-devel | 13.23-2.el8_10 | ALSA-2026:27738 |
| AlmaLinux | 8 | pg_repack | 1.4.6-3.module_el8.6.0+2760+1746ec94 | ALSA-2026:28208 |
| AlmaLinux | 8 | pg_repack | 1.4.6-3.module_el8.6.0+3095+ee60d910 | ALSA-2026:28208 |
| AlmaLinux | 8 | pg_repack | 1.4.6-3.module_el8.9.0+3704+f1f917ce | ALSA-2026:28999 |
| AlmaLinux | 8 | pg_repack | 1.4.8-1.module_el8.9.0+3706+885c732e | ALSA-2026:26181 |
| AlmaLinux | 8 | pg_repack | 1.5.1-1.module_el8.10.0+3930+ecf33554 | ALSA-2026:28143 |
| AlmaLinux | 8 | pg_repack | 1.5.1-1.module_el8.10.0+4125+ceaf7d1b | ALSA-2026:28143 |
| AlmaLinux | 8 | pg_repack | 1.5.1-1.module_el8.10.0+4199+bf03c564 | ALSA-2026:28143 |
| AlmaLinux | 8 | pgaudit | 1.4.0-7.module_el8.10.0+3889+48cb11fb.alma.1 | ALSA-2026:28999 |
| AlmaLinux | 8 | pgaudit | 1.4.0-7.module_el8.9.0+3740+0e74851f.alma.1 | ALSA-2026:28999 |
| AlmaLinux | 8 | pgaudit | 1.5.0-1.module_el8.6.0+2760+1746ec94 | ALSA-2026:28208 |
| AlmaLinux | 8 | pgaudit | 1.5.0-1.module_el8.6.0+3095+ee60d910 | ALSA-2026:28208 |
| 29 more for AlmaLinux in the JSON. | ||||
| Rocky Linux | 8 | libpq | 0:13.23-2.el8_10 | RLSA-2026:27738 |
| Rocky Linux | 8 | pg_repack | 0:1.4.8-1.module+el8.10.0+1622+bd25b19c | RLSA-2026:26181 |
| Rocky Linux | 8 | pg_repack | 0:1.4.8-1.module+el8.10.0+1858+fcc46a79 | RLSA-2026:26181 |
| Rocky Linux | 8 | pg_repack | 0:1.4.8-1.module+el8.10.0+40056+df351139 | RLSA-2026:26181 |
| Rocky Linux | 8 | pg_repack | 0:1.4.8-1.module+el8.9.0+1525+fc91df60 | RLSA-2026:26181 |
| Rocky Linux | 8 | pgaudit | 0:1.7.0-1.module+el8.10.0+40056+df351139 | RLSA-2026:26181 |
| Rocky Linux | 8 | pgaudit | 0:1.7.0-1.module+el8.9.0+1525+fc91df60 | RLSA-2026:26181 |
| Rocky Linux | 8 | postgres-decoderbufs | 0:1.9.7-1.Final.module+el8.10.0+40056+df351139 | RLSA-2026:26181 |
| Rocky Linux | 8 | postgres-decoderbufs | 0:1.9.7-1.Final.module+el8.9.0+1525+fc91df60 | RLSA-2026:26181 |
| Rocky Linux | 9 | pg_repack | 0:1.4.8-2.module+el9.7.0+40011+28af63c9 | RLSA-2026:28037 |
| Rocky Linux | 9 | pg_repack | 0:1.5.1-1.module+el9.8.0+40159+adcaa225 | RLSA-2026:26203 |
| Rocky Linux | 9 | pg_repack | 0:1.5.3-1.module+el9.8.0+40158+490b3c67 | RLSA-2026:26204 |
| 13 more for Rocky Linux in the JSON. | ||||
| Alpine | v3.20, v3.21, v3.22 | postgresql15 | 15.18-r0 | ALPINE-CVE-2026-6475 |
| Alpine | v3.20, v3.21, v3.22 and 2 more | postgresql16 | 16.14-r0 | ALPINE-CVE-2026-6475 |
| Alpine | v3.21, v3.22, v3.23 and 1 more | postgresql17 | 17.10-r0 | ALPINE-CVE-2026-6475 |
| Alpine | v3.23, v3.24 | postgresql18 | 18.4-r0 | ALPINE-CVE-2026-6475 |
| Azure Linux | 3 | postgresql | 16.14-1 | AZL-86828 |
| Alpaquita | 23 | postgresql15 | 15.18-r0 | BELL-CVE-2026-6475 |
| Alpaquita | 25 | postgresql17 | 17.10-r0 | BELL-CVE-2026-6475 |
| Alpaquita | stream | postgresql18 | 18.4-r0 | BELL-CVE-2026-6475 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.
Red Hat rates this Moderate.
This MODERATE symlink following vulnerability in PostgreSQL's pg_basebackup and pg_rewind allows an origin superuser to overwrite local files. Exploitation requires local access, high privileges (superuser), and specific intermediate actions before server restart. Impact is high to confidentiality, integrity, and availability if exploited. Affects versions before 18.4, 17.10, 16.14, 15.18, and 14.23.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | postgresql18-0:18.4-1.el10_2 | Fixed 2026-06-22 | RHSA-2026:27742 |
| Red Hat Enterprise Linux 10 | postgresql16-0:16.14-1.el10_2 | Fixed 2026-06-22 | RHSA-2026:27743 |
| Red Hat Enterprise Linux 10.0 Extended Update Support | postgresql16-0:16.14-1.el10_0 | Fixed 2026-06-22 | RHSA-2026:27718 |
| Red Hat Enterprise Linux 8 | postgresql:15-8100020260605152259.489197e6 | Fixed 2026-06-16 | RHSA-2026:26181 |
| Red Hat Enterprise Linux 8 | libpq-0:13.23-2.el8_10 | Fixed 2026-06-22 | RHSA-2026:27738 |
| Red Hat Enterprise Linux 8 | postgresql:16-8100020260530205218.489197e6 | Fixed 2026-06-23 | RHSA-2026:28143 |
| Red Hat Enterprise Linux 8 | postgresql:13-8100020260605152256.489197e6 | Fixed 2026-06-23 | RHSA-2026:28208 |
| Red Hat Enterprise Linux 8 | postgresql:12-8100020260605152253.489197e6 | Fixed 2026-06-24 | RHSA-2026:28999 |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | postgresql:12-8040020260624104459.522a0ee4 | Fixed 2026-07-01 | RHSA-2026:34362 |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | postgresql:13-8040020260630100922.522a0ee4 | Fixed 2026-07-01 | RHSA-2026:34363 |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | libpq-0:13.23-1.el8_4.1 | Fixed 2026-07-23 | RHSA-2026:44420 |
| Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On | postgresql:12-8040020260624104459.522a0ee4 | Fixed 2026-07-01 | RHSA-2026:34362 |
| Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On | postgresql:13-8040020260630100922.522a0ee4 | Fixed 2026-07-01 | RHSA-2026:34363 |
| Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On | libpq-0:13.23-1.el8_4.1 | Fixed 2026-07-23 | RHSA-2026:44420 |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | postgresql:12-8060020260623094704.ad008a3a | Fixed 2026-06-25 | RHSA-2026:29815 |
| Red Hat Enterprise Linux 6 | postgresql | Out of support scope | |
| Red Hat Enterprise Linux 7 | postgresql | Not affected | |
| Red Hat Enterprise Linux 8 | postgresql | Not affected | |
| Red Hat Enterprise Linux 8 | postgresql-jdbc | Not affected | |
| Self-service automation portal 2 | ansible-automation-platform/bootc-automation-portal-rhel9 | Affected | |
| 27 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-6475.
Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.