CVE-2019-9193

CRITICALNVD 7.29.0▲
EchelonGraph scoreHIGH confidence

Score elevated to 9.0 because EPSS predicts 92% probability of exploitation within the next 30 days (99th percentile of EPSS-scored CVEs). NVD baseline CVSS 7.2 retained for reference. Confidence: see factors.

Triggered by: EPSS exploit prediction (continuous uplift above 30%)
Sources: epss, ghsa, nvd
Weaponized
9.0EG
EchelonGraph verdictMitigate this weekExploitation is likely or a public exploit exists.
  • High exploitation likelihood — EPSS 92%
  • Public exploit code is available (Metasploit, Exploit-DB (verified), epss top5pct, epss high, public exploit)
CISA-KEV: Not listedEPSS PROB: 92%CVSS: 7.2Exploit: Metasploit · Exploit-DB (verified) · epss top5pct · epss high · public exploitExposed services: Not assessed

No fix is confirmed yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for the fix.

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’.

CVSS v3
7.2
EG Score
9.0CRITICALhigh confidence
EG Risk
77
EG Risk 77/100CISA SSVC

EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).

How it’s computed
Severity90% × 45%
Exploitation92% × 40%
Automatability0% × 15%
CISA SSVC: Track at low or medium mission impact; Track* at high (mission-essential systems).
Action: No fix is confirmed yet. Restrict network exposure of the affected system or apply the vendor's mitigation within your standard update timelines, and watch the vendor's advisory for the fix.
EPSS PROB
92%
EPSS %ILE
99th
KEV
Not listed

CISA SSVCTrack at low or medium mission impact; Track* at high (mission-essential systems).

No fix is confirmed yet. Restrict network exposure of the affected system or apply the vendor's mitigation within your standard update timelines, and watch the vendor's advisory for the fix.

Exploitation none (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table

Published

April 1, 2019

Last Modified

November 21, 2024

References (16)

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 2× in last 7d / 9× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

  1. 2026-10-09 20:03 UTCEPSS rescore
  2. 2026-10-08 16:37 UTCEPSS rescore
  3. 2026-10-03 14:22 UTCEPSS rescore
  4. 2026-09-30 10:29 UTCEG score recompute
  5. 2026-09-24 13:59 UTCEPSS rescore
  6. 2026-09-22 14:43 UTCEPSS rescore
  7. 2026-09-21 20:28 UTCEPSS rescore
  8. 2026-09-17 19:22 UTCEPSS rescore
  9. 2026-09-15 03:06 UTCEPSS rescore
  10. 2026-09-06 13:44 UTCEPSS rescore
  11. 2026-09-05 15:24 UTCEPSS rescore
  12. 2026-08-27 14:21 UTCEPSS rescore
  13. 2026-08-19 17:00 UTCEPSS rescore
  14. 2026-08-18 13:44 UTCEPSS rescore
  15. 2026-08-12 13:47 UTCEPSS rescore
  16. 2026-07-30 16:24 UTCEPSS rescore
  17. 2026-07-28 15:32 UTCEPSS rescore
  18. 2026-07-24 14:14 UTCEPSS rescore
  19. 2026-07-23 14:15 UTCEPSS rescore
  20. 2026-07-23 01:47 UTCEG score recompute
  21. 2026-07-22 22:30 UTCEG score recompute
  22. 2026-07-22 14:05 UTCEPSS rescore
  23. 2026-07-15 16:55 UTCEPSS rescore
  24. 2026-07-07 13:43 UTCEPSS rescore
  25. 2026-07-06 16:25 UTCEPSS rescore
Show 19 more
  1. 2026-07-06 16:25 UTCEPSS rescore
  2. 2026-07-05 02:27 UTCEPSS rescore
  3. 2026-06-28 04:54 UTCEPSS rescore
  4. 2026-06-28 04:54 UTCEPSS rescore
  5. 2026-06-23 21:31 UTCEPSS rescore
  6. 2026-06-23 21:31 UTCEPSS rescore
  7. 2026-06-15 17:46 UTCEPSS rescore
  8. 2026-06-12 23:09 UTCEPSS rescore
  9. 2026-06-12 23:09 UTCEPSS rescore
  10. 2026-06-10 13:19 UTCEPSS rescore
  11. 2026-06-02 20:11 UTCEPSS rescore
  12. 2026-06-02 20:11 UTCEPSS rescore
  13. 2026-05-31 22:29 UTCEPSS rescore
  14. 2026-05-31 22:29 UTCEPSS rescore
  15. 2026-05-27 21:12 UTCEG score recompute
  16. 2026-05-27 21:12 UTCGHSA enrichment
  17. 2026-05-27 13:39 UTCEPSS rescore
  18. 2026-05-27 13:38 UTCEPSS rescore
  19. 2026-05-25 08:16 UTCOSV refresh

Publicly available exploits

(6 references)

Public exploit code is referenced for this CVE (1 Metasploit module, 1 Exploit-DB entry, 3 GitHub PoCs), as is 1 Nuclei detection template. A detection template checks whether a system is affected; it is not necessarily exploit code. Defenders should treat patch urgency accordingly.

  • Exploit-DBEDB-46813✓ verified
    Published May 8, 2019

    PostgreSQL 9.3 - COPY FROM PROGRAM Command Execution (Metasploit)

    Open source ↗
  • Metasploitexploit/multi/postgres/postgres_copy_from_program_cmd_exec✓ verified
    Published May 7, 2019

    PostgreSQL COPY FROM PROGRAM Command Execution

    Open source ↗
  • GitHub PoCgeniuszly/CVE-2019-9193
    Published Oct 6, 2024

    is a PoC tool designed to exploit an authenticated Remote Code Execution (RCE) vulnerability in specific versions of PostgreSQL (9.3 - 11.7)

    Open source ↗
  • Nucleijavascript/cves/2019/CVE-2019-9193.yaml
    Published Apr 5, 2024

    PostgreSQL 9.3-12.3 Authenticated Remote Code Execution

    Open source ↗
  • GitHub PoCb4keSn4ke/CVE-2019-9193
    Published Mar 29, 2022

    CVE-2019–9193 - PostgreSQL 9.3-12.3 Authenticated Remote Code Execution

    Open source ↗
  • GitHub PoCwkjung0624/cve-2019-9193
    Published Feb 12, 2020

    PostgreSQL Remote Code Executuon

    Open source ↗

Frequently asked(5)

What is CVE-2019-9193?
CVE-2019-9193 is a critical vulnerability published on April 1, 2019. In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pgexecuteserver_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…
When was CVE-2019-9193 disclosed?
CVE-2019-9193 was first published on April 1, 2019, with the most recent update on November 21, 2024. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2019-9193 actively exploited?
CVE-2019-9193 is not currently on CISA's Known Exploited Vulnerabilities catalog. EchelonGraph's EG-KEV model classifies it as weaponized: a functional public exploit exists. FIRST EPSS estimates a 92% probability of exploitation in the next 30 days (99th percentile of EPSS-scored CVEs).
What is the CVSS score of CVE-2019-9193?
CVE-2019-9193 has a CVSS v3 base score of 7.2 (NVD). EchelonGraph synthesises NVD + CISA KEV + FIRST EPSS + GHSA into a combined EG score of 9.0 (CRITICAL).
How do I remediate CVE-2019-9193?
No fix for CVE-2019-9193 is confirmed yet. Until one is published, restrict network exposure of the affected system or apply the vendor's mitigation — for example, keep it off the internet or limit it to trusted networks — and watch the vendor's advisory for the fix.

Dependency Blast Radius

Explore the affected products and dependency analysis for CVE-2019-9193

Explore →

Is Your Infrastructure Affected by CVE-2019-9193?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.