CVE-2026-6464: PostgreSQL psql COPY FROM STDIN early failure processes data lines as psql commands
Vulnerability summary
CVE-2026-6464 is a high (CVSS 8.1) vulnerability in postgresql. EPSS estimates a 0.36% chance of exploitation in the next 30 days, higher than 31.5% of scored vulnerabilities.
Severe, CVSS 8.1 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 56 · Related 30Timeline
- 13-08-2026PublishedVulnerability first disclosed.
- 29-08-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · AlpineEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVDNIST8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.36%
Chance of exploitation in the next 30 days
Percentile
32%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.36% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard10 products
- postgresql-14< 14.24-r0
- postgresql-14-client< 14.24-r0
- postgresql-15< 15.19-r0
- postgresql-15-client< 15.19-r0
- postgresql-16< 16.15-r0
Wolfi10 products
- postgresql-14< 14.24-r0
- postgresql-14-client< 14.24-r0
- postgresql-15< 15.19-r0
- postgresql-15-client< 15.19-r0
- postgresql-16< 16.15-r0
Ubuntu7 products
- postgresql-10All versions (No fix recorded)
- postgresql-12All versions (No fix recorded)
- postgresql-14< 14.24-0ubuntu0.22.04.1
- postgresql-16< 16.15-0ubuntu0.24.04.1
- postgresql-18< 18.6-0ubuntu0.26.04.1
Alpine4 products
- postgresql15< 15.19-r0
- postgresql16< 16.15-r0
- postgresql17< 17.11-r0
- postgresql18< 18.5-r0
Debian3 products
- postgresql-15< 15.19-0+deb12u1
- postgresql-17< 17.11-0+deb13u1
- postgresql-18< 18.6-1
Postgresql1 product
- postgresql≥ 14.0, < 14.24 | ≥ 15.0, < 15.19 | ≥ 16.0, < 16.15 | ≥ 17.0, < 17.11 | ≥ 18.0, < 18.5
6 vendors · 35 products