Bug 2515306 (CVE-2026-6464) - CVE-2026-6464 postgresql: PostgreSQL psql: Arbitrary command execution via untrusted data in COPY FROM STDIN
Summary: CVE-2026-6464 postgresql: PostgreSQL psql: Arbitrary command execution via un...
Keywords:
Status: NEW
Alias: CVE-2026-6464
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2526272 2526273
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-13 13:27 UTC by OSIDB Bzimport
Modified: 2026-08-31 11:48 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-13 13:27:34 UTC
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.5, 17.11, 16.15, 15.19, and 14.24 are affected.


Note You need to log in before you can comment on or make changes to this bug.