01 Record
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
UnratedPUBLISHEDCNA: mitre
CNA base scoreUnratedNo CNA CVSS vector
02 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
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
- EPSS probability
- 91.65% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 99.8% of scored records. A rank, not a probability.
- NVD base score
- 7.2 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- No Red Hat rating. Red Hat rates the CVEs that affect its products.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2019-04-01 00:00Z7 YR AGO
- Last updated
- 2024-11-15 15:13Z1 YR AGO
- Reserved
- 2019-02-26
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- Data version
- 5.1
- Document digest
- 1e8a36df86d1094004473d029003f9cc20f6ce8dfbf1373ee55302c404455640
05 Affected products
VendorProductVersionsPlatforms
06 References
- paquier.xyzhttps://paquier.xyz/postgresql-2/postgres-9-3-feature-highlight-copy-tofrom-program/
- medium.comhttps://medium.com/greenwolf-security/authenticated-arbitrary-command-execution-on-postgresql-9-3-latest-cd18945914d5
- blog.hagander.nethttps://blog.hagander.net/when-a-vulnerability-is-not-a-vulnerability-244/
- www.trustwave.comhttps://www.trustwave.com/en-us/resources/blogs/spiderlabs-blog/authenticated-arbitrary-command-execution-on-postgresql-9-3/
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20190502-0003/
- packetstormsecurity.comhttp://packetstormsecurity.com/files/152757/PostgreSQL-COPY-FROM-PROGRAM-Command-Execution.html
- packetstormsecurity.comhttp://packetstormsecurity.com/files/166540/PostgreSQL-11.7-Remote-Code-Execution.html
- packetstormsecurity.comhttp://packetstormsecurity.com/files/171722/PostgreSQL-9.6.1-Remote-Code-Execution.html