CVE-2024-3116: pgAdmin Remote Code Execution (RCE) vulnerability
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.
Published Apr 4, 2024 · Updated Mar 14, 2025
Affected packages
pgadmin4
- Ecosystem
- PyPI
- Affected
- < 8.5
- Fixed in
- 8.5
- Check
pip show pgadmin4
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-3116
- https://github.com/pgadmin-org/pgadmin4/issues/7326
- https://gist.github.com/aelmokhtar/689a8be7e3bd535ec01992d8ec7b2b98
- https://github.com/pgadmin-org/pgadmin4/commit/fbbbfe22dd468bcfef1e1f833ec32289a6e56a8b
- https://lists.fedoraproject.org/archives/list/[email protected]/message/GIF5T34JTTYRGIN5YPT366BDFG6452A2
- https://www.vicarius.io/vsociety/posts/remote-code-execution-vulnerability-in-pgadmin-cve-2024-3116
- https://github.com/advisories/GHSA-27jx-ffw8-xrqv
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2026-7813
pgAdmin 4 server mode has an authorization vulnerability affecting Server Groups, Servers, Shared Servers, Background Processes, and Debugger modules
critical9.9May 11, 2026CVE-2026-7814
pgAdmin 4: Stored cross-site scripting (XSS) vulnerability in Browser Tree and Explain Visualizer modules
medium4.8May 11, 2026CVE-2026-7815
SQL injection vulnerability in pgAdmin 4 Maintenance Tool
high8.8May 11, 2026CVE-2026-7816
pgAdmin 4: OS command injection vulnerability in Import/Export query export
high8.8May 11, 2026CVE-2026-7817
pgAdmin 4 contains local file inclusion (LFI) and server-side request forgery (SSRF) vulnerabilities
high6.5May 11, 2026CVE-2026-7818
pgAdmin 4 has deserialization of untrusted data in its FileBackedSessionManager
high7.0May 11, 2026
