CVE-2019-9193

HIGHNVD 7.29.0
EchelonGraph scoreHIGH confidence

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

Triggered by: EPSS exploit prediction ≥85%
Sources: epss, ghsa, nvd
Weaponized
7.2
EchelonGraph verdictPatch this weekExploitation is likely or a public exploit exists.
  • High exploitation likelihood — EPSS 92%
CISA-KEV: Not listedEPSS: 92%CVSS: 7.2Exploit: NoneExposed: 0

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

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.0(high)
EG Risk
77(Track)
EG Risk 77/100SSVC: Track

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%
Action: Routine — remediate on your standard cadence.
EPSS
99.8%
KEV
Not listed

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 4× in last 7d / 11× 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-07-23 14:15 UTCEPSS rescore
  2. 2026-07-23 01:47 UTCEG score recompute
  3. 2026-07-22 22:30 UTCEG score recompute
  4. 2026-07-22 14:05 UTCEPSS rescore
  5. 2026-07-15 16:55 UTCEPSS rescore
  6. 2026-07-07 13:43 UTCEPSS rescore
  7. 2026-07-06 16:25 UTCEPSS rescore
  8. 2026-07-06 16:25 UTCEPSS rescore
  9. 2026-07-05 02:27 UTCEPSS rescore
  10. 2026-06-28 04:54 UTCEPSS rescore
  11. 2026-06-28 04:54 UTCEPSS rescore
  12. 2026-06-23 21:31 UTCEPSS rescore
  13. 2026-06-23 21:31 UTCEPSS rescore
  14. 2026-06-15 17:46 UTCEPSS rescore
  15. 2026-06-12 23:09 UTCEPSS rescore
  16. 2026-06-12 23:09 UTCEPSS rescore
  17. 2026-06-10 13:19 UTCEPSS rescore
  18. 2026-06-02 20:11 UTCEPSS rescore
  19. 2026-06-02 20:11 UTCEPSS rescore
  20. 2026-05-31 22:29 UTCEPSS rescore
  21. 2026-05-31 22:29 UTCEPSS rescore
  22. 2026-05-27 21:12 UTCEG score recompute
  23. 2026-05-27 21:12 UTCGHSA enrichment
  24. 2026-05-27 13:39 UTCEPSS rescore
  25. 2026-05-27 13:38 UTCEPSS rescore
Show 1 more
  1. 2026-05-25 08:16 UTCOSV refresh

Publicly available exploits

(6 references)

Working exploit code is in the public domain (1 Metasploit module) (3 GitHub PoCs) (1 Exploit-DB entry). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.

  • GitHub PoCgeniuszly/CVE-2019-9193
    First seen 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 ↗
  • GitHub PoCb4keSn4ke/CVE-2019-9193
    First seen Mar 29, 2022

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

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

    PostgreSQL Remote Code Executuon

    Open source ↗
  • Exploit-DBEDB-46813✓ verified
    First seen May 8, 2019

    PostgreSQL 9.3 - COPY FROM PROGRAM Command Execution (Metasploit)

    Open source ↗
  • Metasploitexploit/multi/postgres/postgres_copy_from_program_cmd_exec✓ verified
    First seen Mar 20, 2019

    PostgreSQL COPY FROM PROGRAM Command Execution

    Open source ↗
  • Nucleijavascript/cves/2019/CVE-2019-9193.yaml
    First seen Jan 1, 2019

    PostgreSQL 9.3-12.3 Authenticated Remote Code Execution

    Open source ↗

Frequently asked(5)

What is CVE-2019-9193?
CVE-2019-9193 is a high 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 in the National Vulnerability Database 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. FIRST EPSS estimates a 99.8% percentile likelihood of exploitation in the next 30 days — higher percentiles indicate greater predicted risk.
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.
How do I remediate CVE-2019-9193?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2019-9193, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

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.