Bug 2526272 - CVE-2026-6464 postgresql18: PostgreSQL psql: Arbitrary command execution via untrusted data in COPY FROM STDIN [fedora-all]
Summary: CVE-2026-6464 postgresql18: PostgreSQL psql: Arbitrary command execution via ...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: postgresql18
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Filip Januš
QA Contact:
URL:
Whiteboard: {"flaws": ["40db56f5-334d-4e2a-865b-8...
Depends On:
Blocks: CVE-2026-6464
TreeView+ depends on / blocked
 
Reported: 2026-08-31 11:48 UTC by Srikanth Balasubramanian
Modified: 2026-08-31 11:48 UTC (History)
3 users (show)

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


Attachments (Terms of Use)

Description Srikanth Balasubramanian 2026-08-31 11:48:36 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.