Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2019-9193

89
FAUCET Score

CVE-2019-9193 describes a high-severity vulnerability in PostgreSQL versions 9.3 through 11.2, where the "COPY TO/FROM PROGRAM" function allows superusers and members of the 'pg_execute_server_program' group to execute arbitrary operating system commands. This functionality, enabled by default across Windows, Linux, and macOS, is considered by some to be intended behavior for superusers. The vulnerability carries a CVSS score of 7.2 (HIGH) due to its network attack vector, low complexity, and high impact on confidentiality, integrity, and availability. While not listed in CISA's KEV catalog, its high EPSS score (0.93499) and FAUCET Risk Score (99/100) indicate a significant threat. Exploit code is publicly available, including a Metasploit module, and it has been observed in the wild being abused by botnets like PGMiner, garnering notable community discussion and media coverage.

Impacted Technologies

VendorProductVersion(s)CPE
>= 9.3, <= 11.2CPE matchmatch criteria
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.0

7.2HIGH

CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
HIGH
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
1.2
Impact Score
5.9
CvssVersion
3.0

Exploit Intelligence

EPSS Score
91.66%
Probability of exploitation in next 30 days
EPSS Percentile
99.8%
Percentile rank of EPSS score among Peer Group
As of 2026-07-25
Model: v2026.06.15
Metasploit: PostgreSQL COPY FROM PROGRAM Command Execution · Mar 20, 2019
Nuclei: CVE-2019-9193 · Mar 28, 2024
ExploitDB: EDB-46813 · May 8, 2019
This CVE's current EPSS score of 0.9165 is in the 100th percentile among its peer group of 5,531 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.1 Mastodon, and 0.3 GitHub mentions.

Media Mentions

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Vendor Advisories (1)

redhatCVE-2019-9193

postgresql: Command injection via "COPY TO/FROM PROGRAM" function

Mar 20, 2019

References

packetstormsecurity.com / files/152757/PostgreSQL-COPY-FROM-PROGRAM-Command-Execution.html
Third Party Advisory
packetstormsecurity.com / files/166540/PostgreSQL-11.7-Remote-Code-Execution.html
packetstormsecurity.com / files/171722/PostgreSQL-9.6.1-Remote-Code-Execution.html
blog.hagander.net / when-a-vulnerability-is-not-a-vulnerability-244
Third Party Advisory
medium.com / greenwolf-security/authenticated-arbitrary-command-execution-on-postgresql-9-3-latest-cd18945914d5
ExploitThird Party Advisory
paquier.xyz / postgresql-2/postgres-9-3-feature-highlight-copy-tofrom-program
Third Party Advisory
security.netapp.com / advisory/ntap-20190502-0003
Third Party Advisory
trustwave.com / en-us/resources/blogs/spiderlabs-blog/authenticated-arbitrary-command-execution-on-postgresql-9-3
Third Party Advisory