CVE-2024-3116pgAdmin 4 Command Injection
pgAdmin Remote Code Execution (RCE) vulnerability
Published Apr 4, 2024 · Updated Oct 28, 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 65% 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.
Scores
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)
65%
Higher than 99.2% of all scored CVEs
Exploit maturity
Weaponized
ATLAS score
62/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Weaponized
Public exploit code
1
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
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
11 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
Oct 28, 2026
Weakness Type
- CWE-77 Improper Neutralization of Special Elements used in a Command
References
- advisorycve.org · CVERecord
- advisorynvd.nist.gov · CVE-2024-3116
- advisoryGHSA advisory
- exploitMSF pgadmin_binary_path_api.rb
- articlesuse.com · CVE-2024-3116
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 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo