Home / pgadmin.org / pgAdmin 4 / CVE-2024-3116
CVE-2024-3116: is it exploited, and which versions of pgadmin.org pgAdmin 4 are affected and fixed?
CVE-2024-3116 is a command injection vulnerability in pgadmin.org pgAdmin 4. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:08 UTC). Affected: pgadmin4 before 8.5 (GitHub advisory GHSA-27jx-ffw8-xrqv). Fixed in 8.5 (GitHub advisory GHSA-27jx-ffw8-xrqv). Severity: High (7.4, CVSS 3.1, from PostgreSQL).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 19, 2026, 07:12 UTC and NVD November 19, 2026, 07:30 UTC.
What is CVE-2024-3116?
Remote Code Execution Vulnerability through the validate binary path API in pgAdmin 4
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.
From the CVE record by PostgreSQL, last updated March 14, 2025, 16:35 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| pgadmin.org | pgAdmin 4 | before 8.5 | 8.5 |
As the CVE record by PostgreSQL states it, last updated March 14, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | pgadmin4 | < 8.5 | 8.5 | GHSA-27jx-ffw8-xrqv |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated February 11, 2025. Summary: pgAdmin Remote Code Execution (RCE) vulnerability.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| pgadmin | pgadmin 4 | through 8.4 | application |
| fedoraproject | fedora | 39 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 07:43 UTC.
How severe is CVE-2024-3116?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L | PostgreSQL |
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-3116 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, April 4, 2024)
- EPSS
- 65.8% probability of exploitation activity in the next 30 days, percentile 99.3 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-77 Improper Neutralization of Special Elements used in a Command
Where are the vendor advisories and references?
- https://github.com/pgadmin-org/pgadmin4/issues/7326 issue-tracking
- https://gist.github.com/aelmokhtar/689a8be7e3bd535ec01992d8ec7b2b98 mitigation
- 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
When was it published, and where is the official record?
- Reserved
- March 30, 2024
- Published
- April 4, 2024, 14:59 UTC
- CVE record updated
- March 14, 2025, 16:35 UTC by PostgreSQL
- NVD
- Modified, last modified June 17, 2026, 07:43 UTC
- Last checked
- CVE list November 19, 2026, 07:12 UTC; NVD November 19, 2026, 07:30 UTC; KEV December 3, 2026, 12:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect pgAdmin 4?
- Oct 30, 2026CVE-2026-116252 pgadmin.org pgAdmin 4: argument injection
- Oct 30, 2026CVE-2026-116251 pgadmin.org pgAdmin 4: session does not expire
- Oct 30, 2026CVE-2026-116249 pgadmin.org pgAdmin 4: path traversal (reading or writing files outside the intended folder)
- Oct 30, 2026CVE-2026-116250 pgadmin.org pgAdmin 4: time-of-check time-of-use race condition
- Oct 30, 2026CVE-2026-116248 pgadmin.org pgAdmin 4: missing authorization
- Oct 30, 2026CVE-2026-116246 pgadmin.org pgAdmin 4: invocation of Process Using Visible Sensitive Information
- Oct 30, 2026CVE-2026-116247 pgadmin.org pgAdmin 4: credentials insufficiently protected
- Oct 30, 2026CVE-2026-116244 pgadmin.org pgAdmin 4: credentials insufficiently protected
Questions about CVE-2024-3116
Is CVE-2024-3116 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 65.8% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of pgadmin.org pgAdmin 4 are affected by CVE-2024-3116?
pgadmin4 before 8.5, per the GitHub advisory GHSA-27jx-ffw8-xrqv. The tables above give every range the sources list.
Which version fixes CVE-2024-3116?
8.5, per the GitHub advisory GHSA-27jx-ffw8-xrqv. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-3116?
High (7.4, CVSS 3.1, from PostgreSQL). The severity table above shows each score with its source.
Where is the official record of CVE-2024-3116?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.