Privilege escalation in PostgreSQL installer

Published: 2020-05-14
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2020-10733
Exploitation vector Local
Public exploit N/A
Vulnerable software
Server applications / Database software

Vendor PostgreSQL Global Development Group

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Untrusted search path

EUVDB-ID: #VU27923

Risk: Low


CVE-ID: CVE-2020-10733

CWE-ID: CWE-426 - Untrusted Search Path

Exploit availability: No


The vulnerability allows a local user to escalate privileges on he system.

The vulnerability exists due to Windows installer runs  executables from uncontrolled directories. A local user can trick the victim to install PostgreSQL from a directory that contains a malicious files and execute arbitrary code on the system with elevated privileges.

Note, this vulnerability affects Windows installer only.


Install updates from vendor's website.

Vulnerable software versions

PostgreSQL: 12.0 - 12.2, 11.0 - 11.7, 10.0 - 10.12, 9.6.0 - 9.6.17, 9.5.0 - 9.5.21, 9.4.0 - 9.4.26, 9.3.0 - 9.3.25, 9.2.0 - 9.2.24, 9.1.0 - 9.1.24, 9.0.0 - 9.0.23

CPE2.3 External links

Q & A

Can this vulnerability be exploited remotely?

How the attacker can exploit this vulnerability?

Is there known malware, which exploits this vulnerability?