CVE-2019-9193

Public Exploit

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

Category

7.2
CVSS
Severity: High
CVSS 3.0 •
CVSS 2.0 •
EPSS 93.69% Top 5%
Third-Party Advisory packetstormsecurity.com Third-Party Advisory hagander.net Third-Party Advisory medium.com Third-Party Advisory paquier.xyz Third-Party Advisory netapp.com Third-Party Advisory trustwave.com
Affected: n/a n/a
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2019-9193?
CVE-2019-9193 has been scored as a high severity vulnerability.
How to fix CVE-2019-9193?
To fix CVE-2019-9193, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2019-9193 being actively exploited in the wild?
It is possible that CVE-2019-9193 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~94% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.