Postgresql Postgresql
CVE-2026-6464
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 complete attack requires the attacker to separately acquire control of both the server and the data rows. Alternatively, an attacker controlling data rows alone might complete an attack through a coincidental error that they don't control. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.
What this means for your business
- It affects Postgresql. It matters if your company, or a supplier that handles your data, runs it.
- An attacker can use it remotely, over a network, without a login, and without anyone at your company clicking anything.
- FIRST's prediction model gives it a 0.4% chance of attack attempts being seen in the next 30 days, ranking above 27% of all known flaws.
What to do
- 1Check whether your company or your suppliers run Postgresql, and which version. The affected versions are listed further down this page.
- 2If you do, apply the vendor's fix. A patch or vendor advisory has been published.
Fastnexa security experts
Not sure if your company is exposed to CVE-2026-6464?
Tell us where you run Postgresql Postgresql and a Fastnexa penetration tester will check whether this flaw, or others like it, can be used against your websites, apps and network.
The full test is free for our first 10 founding clients until 31 December 2026. See the offer
Think you’ve already been hit? Don’t wait on a form: call or WhatsApp +1 (732) 454 2616. We reply within 1 hour, 24/7. Emergency help →
Scoring
- CVSS
- 8.1 (v3.1)
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H- Weakness
- CWE-829
- Assigned by
- f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
Dates
- Published
- 2026-08-13
- Last modified
- 2026-08-29
- Sources
- NVD
Affected products
- Postgresql Postgresql14.0 - 14.24, 15.0 - 15.19, 16.0 - 16.15, 17.0 - 17.11, 18.0 - 18.5
As listed in the NVD configuration data. Not a statement about your estate.