CVE-2024-3116
CriticalPublic exploitpgAdmin Remote Code Execution (RCE) vulnerability
Published Apr 4, 2024 · Updated Aug 12, 2026 · Also known as GHSA-27jx-ffw8-xrqv, PYSEC-2026-1767
Key Facts
Patch immediately- CVE-2024-3116 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting pgAdmin 4, Fedora (Fedoraproject), pgadmin4 (pypi) and 5 more products.
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 66% probability of exploitation in the next 30 days.
- Fixed versions are available, including pgAdmin 4 8.5, pgAdmin 4 <=8.4, pgadmin4 8.5.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
CVSS v3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
66%
Higher than 99.2% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2024-3116 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
Description
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.
Affected Products
10 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| pgAdmin 4Pgadmin | See advisory | 8.4 |
| FedoraFedoraproject | 39 | n/a |
| pgadmin4pypi | See advisory | 8.5 |
| pgadmin4-cloudsuse | See advisory | 8.5-1.1 |
| pgadmin4-desktopsuse | See advisory | 8.5-1.1 |
Patched Releases
pgAdmin 4
8.5, <=8.4
pgadmin4
8.5, 8.5-1.1
pgadmin4-cloud
8.5-1.1
pgadmin4-desktop
8.5-1.1
pgadmin4-doc
8.5-1.1
pgadmin4-web-uwsgi
8.5-1.1
system-user-pgadmin
8.5-1.1
Timeline
Publicly disclosed
Apr 4, 2024
Last updated
Aug 12, 2026
Weakness Type
- CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')
References
- advisoryGHSA advisory
- advisoryhttps://github.com/CVEProject/cvelistV5/tree/main/cves/2024/3xxx/CVE-2024-3116.json
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2024-3116
- exploitMSF pgadmin_binary_path_api.rb
- articlehttps://gist.github.com/aelmokhtar/689a8be7e3bd535ec01992d8ec7b2b98
FAQ
Common Questions.
pgAdmin <= 8.4 is affected by a Remote Code Execution (RCE) vulnerability through the validate binary path API.
Affected: pgAdmin 4; Fedora (Fedoraproject) versions 39; pgadmin4 (pypi), among others. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including pgAdmin 4 8.5, pgAdmin 4 <=8.4, pgadmin4 8.5.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2024-3116 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo