Skip to content
Fencer Vulns
high 7.4

CVE-2024-3116 in the critical feed json

Remote Code Execution Vulnerability through the validate binary path API in pgAdmin 4

published 2024-04-04 2 y ago modified 2026-07-07 4 mo ago also EUVD-2024-1054 , GHSA-27jx-ffw8-xrqv , PYSEC-2026-1767

cvss
7.4
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
65.8%
EPSS 65.8% chance of exploitation in 30 days, percentile 99.2%
public exploits
1
Metasploit

Summary

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.

Patch / fix

  • pypi pgadmin4 8.5
  • pgadmin.org pgAdmin 4 8.5
  • postgresql pgadmin_4 8.5
  • pgadmin4 openSUSE Tumbleweed 8.5-1.1

opensuse advisories openSUSE-SU-2024:13843-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-3116 updated cvss 7.4

pgadmin: remote code execution via validate binary path API

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Timeline

  1. First public exploit (Metasploit exploit/windows/http/pgadmin_binary_path_api)
  2. Published

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
total
Assessed
2 y ago

Exploit prediction

65.81% chance of exploitation in the next 30 days, higher than 99.2% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • Metasploit exploit/windows/http/pgadmin_binary_path_api pgAdmin Binary Path API RCE metasploit exploit, excellent rank, 2024-03-28
  • github.com https://github.com/pgadmin-org/pgadmin4/issues/7326 referenced PoC, tagged "exploit" by a source, unverified
  • gist.github.com https://gist.github.com/aelmokhtar/689a8be7e3bd535ec01992d8ec7b2b98 referenced PoC, tagged "exploit" by a source, unverified
  • vicarius.io https://www.vicarius.io/vsociety/posts/remote-code-execution-vulnerability-in-pgadmin-cve-2024-3116 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 7.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
GitHub 3.1 7.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV 3.1 7.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L

Affected packages

ecosystem package affected fixed in
pypi pgadmin4
<8.5
8.5

Affected products

  • pgadmin.org pgAdmin 4
  • postgresql pgadmin_4

Classification

Weakness
  • CWE-77 Improper Neutralization of Special Elements used in a Command

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.