--- title: "CVE-2019-9193: In PostgreSQL 9.3 through 11.2, the \"COPY… | CubePath" description: "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…" language: en source: https://cubepath.com/security/cve/CVE-2019-9193 --- # CVE-2019-9193: In PostgreSQL 9.3 through 11.2, the "COPY… | CubePath ## Description 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’. Official description from the CVE record, published by mitre. Copyright © 1999-2026 The MITRE Corporation. See [/security/cve/legal](https://cubepath.com/security/cve/legal) for the CVE license. [View the record on cve.org](https://www.cve.org/CVERecord?id=CVE-2019-9193) ## Key data ### EPSS Exploit Prediction Scoring System by FIRST: an estimate of the probability that exploitation activity will be observed in the next 30 days. Score 0.91655 (91.7% probability) Percentile 99.8% Scores of Nov 10, 2026 Model v2026.06.15 ### CISA assessment as of Apr 24, 2024 Stakeholder-Specific Vulnerability Categorization (SSVC) decision points added by CISA. Automatable no Technical impact total ## References Links listed in the CVE record. They lead to other sites, which CubePath does not control. - [paquier.xyz/postgresql-2/postgres-9-3-feature-highlight-cop…](https://paquier.xyz/postgresql-2/postgres-9-3-feature-highlight-copy-tofrom-program/) - [medium.com/greenwolf-security/authenticated-arbitrary-comma…](https://medium.com/greenwolf-security/authenticated-arbitrary-command-execution-on-postgresql-9-3-latest-cd18945914d5) - [blog.hagander.net/when-a-vulnerability-is-not-a-vulnerabili…](https://blog.hagander.net/when-a-vulnerability-is-not-a-vulnerability-244/) - [trustwave.com/en-us/resources/blogs/spiderlabs-blog/authent…](https://www.trustwave.com/en-us/resources/blogs/spiderlabs-blog/authenticated-arbitrary-command-execution-on-postgresql-9-3/) - [security.netapp.com/advisory/ntap-20190502-0003](https://security.netapp.com/advisory/ntap-20190502-0003/) - [packetstormsecurity.com/files/152757/PostgreSQL-COPY-FROM-P…](http://packetstormsecurity.com/files/152757/PostgreSQL-COPY-FROM-PROGRAM-Command-Execution.html) - [packetstormsecurity.com/files/166540/PostgreSQL-11.7-Remote…](http://packetstormsecurity.com/files/166540/PostgreSQL-11.7-Remote-Code-Execution.html) - [packetstormsecurity.com/files/171722/PostgreSQL-9.6.1-Remot…](http://packetstormsecurity.com/files/171722/PostgreSQL-9.6.1-Remote-Code-Execution.html) ## Timeline 1. ID reserved Feb 26, 2019 2. Record published Apr 1, 2019 3. Record last updated Nov 15, 2024 ## Look up another CVE ## About CubePath CubePath is a cloud provider with data centers in Europe and the United States. It offers VPS, bare metal servers and DDoS protection. [Cloud VPS](https://cubepath.com/vps) [DDoS protection](https://cubepath.com/ddos-protection) Data from the CVE Program (MITRE), CISA KEV and FIRST EPSS. CVSS is owned by FIRST and used by permission. Not affiliated with or endorsed by MITRE, CISA or FIRST. Data as of Nov 10, 2026, 20:01 UTC. [Sources and licenses](https://cubepath.com/security/cve/legal)