Vulnerability Report

CVE-2019-9193

RCE

Title: Postgresql RCE

RCE

Proof Of Concept

PoC Available for CVE-2019-9193

CWE Category CWE-78
Published Date Apr 01, 2019
Modified Date Jun 17, 2026
Exploit Status Available
Score 7.2 CVSS v3.0
Exploit Probability (EPSS)
91.65%

Vulnerability Summary

CVE-2019-9193: 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’.

Impacted Vendors

Reference Links

CVSS v3.0
Source Entity [email protected]
Severity HIGH
7.2
Attack Vector
NETWORK
Complexity
LOW
Privileges
N/A
Interaction
NONE
Confidentiality
N/A
Integrity
N/A
Availability
N/A
Scope
UNCHANGED
RAW VECTOR CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
CVSS v2.0
Source Entity [email protected]
Severity HIGH
9.0
Access Vector
N/A
Authentication
N/A
RAW VECTOR AV:N/AC:L/Au:S/C:C/I:C/A:C

Associated Attack Patterns (CAPEC)

Total: Patterns

CVE-2019-9193 Exploits & PoCs (Proof Of Concept)

GitHub https://github.com/b4keSn4ke/CVE-2019-9193
View Code
GitHub https://github.com/geniuszly/CVE-2019-9193
View Code
GitHub https://github.com/wkjung0624/cve-2019-9193
View Code
GitHub https://github.com/paulotrindadec/CVE-2019-9193
View Code
GitHub https://github.com/corsisechero/CVE-2019-9193byVulHub
View Code
Exploit-DB https://www.exploit-db.com/exploits/46813
View Code
MODIFIED

Vulnerability data updated via NVD.

MODIFIED

Vulnerability data or affected products updated.

PUBLISHED

Vulnerability first announced in NVD.

Attack Vector Matrix

Access Vector NETWORK
Complexity LOW
Privileges N/A
Interaction NONE
CVSS Vector String CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Affected Stack

No specific products linked.