Remote Code Execution Vulnerability through the validate binary path API in pgAdmin 4
CVE-2024-3116Published 4 Apr 2024, 14:59 UTC
Real-world risk
1.8/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.4
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from PostgreSQL)
pgAdmin <= 8.4 is affected by a Remote Code Execution (RCE) vulnerability through the validate binary path API. This vulnerability allows attackers to execute arbitrary code on the server hosting PGAdmin, posing a severe risk to the database management system's integrity and the security of the underlying data.
Am I affected?
What to do
Update to a fixed version: 8.5.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 0.60 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T4: Weaponized (× 1.00)
A Metasploit module, a Nuclei template, or a verified Exploit-DB entry
- Public proof of concept on GitHub
- Metasploit module (link)
- CISA SSVC: proof of concept
EPSS 65.3% chance of exploitation in 30 days (percentile 99), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.600
- Threat T4: Weaponized1.000
- 10 × impact 0.3 × prerequisites 0.6 × threat 11.800
- Rounded to one decimal between 0.1 and 101.8
Exploitation and evidence timeline
- 4 Apr 2024 Published
- 3 Dec 2026 Public proof of concept on GitHub first seen
- 3 Dec 2026 Metasploit module first seen
- 3 Dec 2026 CISA SSVC: proof of concept first seen
- 3 Dec 2026 Risk 1.8 (cvss fallback)
Weakness
CWE-77
References
- https://github.com/pgadmin-org/pgadmin4/issues/7326issue-tracking, x-transferred
- https://gist.github.com/aelmokhtar/689a8be7e3bd535ec01992d8ec7b2b98mitigation, x-transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/GIF5T34JTTYRGIN5YPT366BDFG6452A2/x-transferred
- https://www.vicarius.io/vsociety/posts/remote-code-execution-vulnerability-in-pgadmin-cve-2024-3116
- CVE-2024-3116 on CVE.org