CVE-2026-6464: Untrusted data inclusion in PostgreSQL psql COPY may allow a server administrator to elicit execution of data
CVE-2026-6464 is a high-severity flaw (CVSS 8.1) affecting postgresql. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Untrusted data inclusion in PostgreSQL psql COPY may allow a server administrator to elicit execution of data lines as psql commands, via error injection. If the "COPY FROM STDIN" or "\copy FROM STDIN" command fails before the server indicates that it awaits input rows, psql processes the in-line data rows as psql commands. "COPY FROM" with a filename is unaffected. The server administrator has no inherent control over the data rows, so a comp
Why this priority
- High severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.1 (High) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.4% (top 71%) |
| CISA exploited list | No |
| Weakness | CWE-829 |
| Published | 2026-08-13 |
| Last modified | 2026-08-29 |
Last updated 2026-08-29 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-6464?
postgresql: upgrade to 14.24, 15.19, 16.15, 17.11, 18.5. Exact commands for each OS are on this page.
Is CVE-2026-6464 being exploited?
CVE-2026-6464 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-6464 affect?
CVE-2026-6464 affects postgresql. Severity is high (CVSS 8.1). Untrusted data inclusion in PostgreSQL psql COPY may allow a server administrator to elicit execution of data lines as psql commands, via error injection. If the "COPY FROM STDIN" or "\copy FROM STDIN" command fails before the server indic
How urgent is CVE-2026-6464?
Priority 41/100. High severity; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2026-6471 HIGH 7.2 UPGRADE Missing authorization in PostgreSQL logical decoding allows a non-superuser holding REPLICATION privilege to d
- CVE-2026-6470 MEDIUM 4.3 UPGRADE Missing authorization in PostgreSQL DDL commands allows an object creator to achieve denial of service against
- CVE-2026-6469 LOW 3.8 UPGRADE Incorrect ownership assignment in PostgreSQL ALTER TABLE ALTER TYPE command reassigns ownership of dependent s
- CVE-2026-19385 HIGH 8.8 UPGRADE Heap buffer overflow in PostgreSQL pg_dump of long function transform lists allows an object creator to execut
- CVE-2026-18408 HIGH 8.8 UPGRADE Untrusted data inclusion in pg_dump in PostgreSQL allows a malicious superuser of the origin server to inject