CVE Intel / CVE-2019-9193

CVE-2019-9193

Postgresql · postgresql
Patch soon

Public exploit code exists, so attacks usually follow. Schedule the vendor fix ahead of your normal cycle.

Watch your stackFree email alerts
High CVSS 7.2not network-detectablepublic exploit: ExploitDB, Metasploit

What it is

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

Live exploitation on the huntback network (30 days)

0
attempts captured
0
distinct source IPs
not yet seen
last seen

Detection

This CVE is searchable but not currently network-detectable (it needs local or authenticated access, or no wire signature exists yet).
ExploitDBExploit code published (ExploitDB)
MetasploitExploit code published (Metasploit)

Evidence

Weaponised. Exploit code is public but no exploitation is reported yet.

2019-04-01Context · CVE record
Published
undatedWeaponised · ExploitDB
Exploit code published (ExploitDB)
undatedWeaponised · Metasploit
Exploit code published (Metasploit)

Observed: our own decoys saw it. Reported: CISA, the vendor or another named source says so. Weaponised: public exploit code or a scanner template exists. Methodology

Questions

Is CVE-2019-9193 being exploited in the wild?

Not on our sensors so far: the huntback decoy network has not captured an exploitation attempt, and it is not in the CISA KEV catalogue.

Can CVE-2019-9193 be detected on the network?

huntback has no wire signature for CVE-2019-9193 yet; it may need local or authenticated access to exploit.

How huntback helps

Deploy a decoy that emulates Postgresql and you will see every attempt at this CVE the moment it lands, with the full payload, the attacker's infrastructure, and any stage-2 loader. Then huntback can scan the attacker back.

CVSS7.2 High
EPSS0.92 (91% pct)
In CISA KEVno
Published2019-04-01
Updated2026-06-17
Network detectableno
Public exploitExploitDB, Metasploit

API

This record, with its evidence timeline, as JSON:

curl -H "X-API-Key: $HUNTBACK_KEY" https://app.huntback.io/api/v1/evidence/CVE-2019-9193

Get a free API key →