CVE-2019-9193

Summary

CVECVE-2019-9193
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2019-04-01 21:30:00 UTC
Updated2023-11-07 03:13:00 UTC
Description** DISPUTED ** In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_server_program' group to execute arbitrary code in the context of the database's operating system user. This functionality is enabled by default and can be abused to run arbitrary operating system commands on Windows, Linux, and macOS. NOTE: Third parties claim/state this is not an issue because PostgreSQL functionality for ‘COPY TO/FROM PROGRAM’ is acting as intended. References state that in PostgreSQL, a superuser can execute commands as the server user without using the ‘COPY FROM PROGRAM’.

Risk And Classification

Problem Types: CWE-78

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Postgresql Postgresql All All All All

References

ReferenceSourceLinkTags
Internet Archive: Scheduled Maintenance MISC packetstormsecurity.com
Authenticated Arbitrary Command Execution on PostgreSQL 9.3 > Latest | Trustwave MISC www.trustwave.com Third Party Advisory
Postgres 9.3 feature highlight - COPY TO/FROM PROGRAM MISC paquier.xyz Third Party Advisory
When a vulnerability is not a vulnerability - Magnus Hagander's blog MISC blog.hagander.net Third Party Advisory
PostgreSQL COPY FROM PROGRAM Command Execution ≈ Packet Storm MISC packetstormsecurity.com Third Party Advisory
Authenticated Arbitrary Command Execution on PostgreSQL 9.3 > Latest MISC medium.com Exploit, Third Party Advisory
PostgreSQL 9.6.1 Remote Code Execution ≈ Packet Storm MISC packetstormsecurity.com
CVE-2019-9193 PostgreSQL in NetApp Products | NetApp Product Security CONFIRM security.netapp.com Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report