{"id":"CVE-2024-3116","aliases":["EUVD-2024-1054","GHSA-27jx-ffw8-xrqv","PYSEC-2026-1767","openSUSE-SU-2024:13843-1"],"status":"published","title":"Remote Code Execution Vulnerability through the validate binary path API in pgAdmin 4","description":"pgAdmin \u003c= 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.","severity":{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.65815,"percentile":0.99273,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-77"],"published":"2024-04-04T14:59:37Z","modified":"2026-10-28T02:31:07Z","exploits":[{"source":"metasploit","id":"exploit/windows/http/pgadmin_binary_path_api","title":"pgAdmin Binary Path API RCE","type":"exploit","platform":"Windows","date":"2024-03-28","verified":true,"url":"https://www.rapid7.com/db/modules/exploit/windows/http/pgadmin_binary_path_api"},{"source":"pocgithub","id":"TechieNeurons/CVE-2024-3116_RCE_in_pgadmin_8.4","title":"TechieNeurons/CVE-2024-3116_RCE_in_pgadmin_8.4","date":"2024-04-07","url":"https://github.com/TechieNeurons/CVE-2024-3116_RCE_in_pgadmin_8.4"}],"fixes":[{"ecosystem":"PyPI","package":"pgadmin4","fixed_in":["8.5"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"pgadmin4","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.5"}]}]},{"source":"osv","ecosystem":"PyPI","package":"pgadmin4","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.5"}]}],"versions":["4.20","4.22","4.23","4.24","4.25","4.26","4.27","4.28","4.29","4.30","5.0","5.1","5.2","5.3","5.4","5.5","5.6","5.7","6.10","6.11","6.12","6.13","6.14","6.15","6.16","6.17","6.18","6.19","6.2","6.20","6.21","6.3","6.4","6.5","6.6","6.7","6.8","6.9","7.0","7.1","7.2","7.3","7.4","7.5","7.6","7.7","7.8","8.0","8.1","8.2","8.3","8.4"]},{"source":"osv","ecosystem":"PyPI","package":"pgadmin4","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.5"}]}],"versions":["4.20","4.22","4.23","4.24","4.25","4.26","4.27","4.28","4.29","4.30","5.0","5.1","5.2","5.3","5.4","5.5","5.6","5.7","6.10","6.11","6.12","6.13","6.14","6.15","6.16","6.17","6.18","6.19","6.2","6.20","6.21","6.3","6.4","6.5","6.6","6.7","6.8","6.9","7.0","7.1","7.2","7.3","7.4","7.5","7.6","7.7","7.8","8.0","8.1","8.2","8.3","8.4"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"pgadmin4","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.5-1.1"}]}],"bundled":2}],"products":[{"vendor":"fedoraproject","product":"fedora"},{"vendor":"pgadmin","product":"pgadmin_4"},{"vendor":"pgadmin.org","product":"pgadmin 4"},{"vendor":"postgresql","product":"pgadmin_4"}],"references":[{"url":"https://github.com/pgadmin-org/pgadmin4/issues/7326","tags":["issue-tracking","x_transferred","Exploit","Issue Tracking","report","web"]},{"url":"https://gist.github.com/aelmokhtar/689a8be7e3bd535ec01992d8ec7b2b98","tags":["mitigation","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GIF5T34JTTYRGIN5YPT366BDFG6452A2/","tags":["x_transferred","Mailing List","web"]},{"url":"https://www.vicarius.io/vsociety/posts/remote-code-execution-vulnerability-in-pgadmin-cve-2024-3116","tags":["Exploit","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-3116","tags":["advisory"]},{"url":"https://github.com/pgadmin-org/pgadmin4/commit/fbbbfe22dd468bcfef1e1f833ec32289a6e56a8b","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GIF5T34JTTYRGIN5YPT366BDFG6452A2","tags":["web"]},{"url":"https://github.com/advisories/GHSA-27jx-ffw8-xrqv","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/3xxx/CVE-2024-3116.json","tags":["advisory"]},{"url":"https://github.com/pgadmin-org/pgadmin4","tags":["package"]},{"url":"https://pypi.org/project/pgadmin4","tags":["package"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2024-2044","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2024-3116","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2024-3116","title":"Remote Code Execution Vulnerability through the validate binary path API in pgAdmin 4","description":"pgAdmin \u003c= 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.","status":"published","published":"2024-04-04T14:59:37.28Z","modified":"2025-03-14T16:35:25.051Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L","level":"high","assessor":"cna"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T14:34:10.961618Z"}],"euvd":[{"id":"EUVD-2024-1054","description":"pgAdmin \u003c= 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.","status":"published","published":"2024-04-04T14:59:37Z","modified":"2025-03-14T16:35:25Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L","level":"high"}],"updated_at":"2026-11-02T20:53:02.719002Z"}],"ghsa":[{"id":"GHSA-27jx-ffw8-xrqv","title":"pgAdmin Remote Code Execution (RCE) vulnerability","description":"pgAdmin \u003c= 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.","status":"published","published":"2024-04-04T15:30:34Z","modified":"2025-03-14T20:24:45Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L","level":"high"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T14:38:34.992855Z"}],"nvd":[{"id":"CVE-2024-3116","description":"pgAdmin \u003c= 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.","status":"published","published":"2024-04-04T15:15:39.667Z","modified":"2026-06-17T07:43:20.433Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L","level":"high","assessor":"secondary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T14:09:48.152273Z"}],"osv":[{"id":"CVE-2024-3116","title":"Remote Code Execution Vulnerability through the validate binary path API in pgAdmin 4","description":"pgAdmin \u003c= 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.","status":"published","published":"2024-04-04T14:59:37.28Z","modified":"2026-10-28T02:31:07.591308464Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L","level":"high"}],"updated_at":"2026-11-02T15:44:40.06138Z"},{"id":"GHSA-27jx-ffw8-xrqv","title":"pgAdmin Remote Code Execution (RCE) vulnerability","description":"pgAdmin \u003c= 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.","status":"published","published":"2024-04-04T15:30:34Z","modified":"2026-07-07T17:56:44.492713016Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L","level":"high"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T15:46:33.956911Z"},{"id":"PYSEC-2026-1767","title":"pgAdmin Remote Code Execution (RCE) vulnerability","description":"pgAdmin \u003c= 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.","status":"published","published":"2026-07-07T11:45:37.487467Z","modified":"2026-07-07T17:47:18.531354557Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L","level":"high"}],"updated_at":"2026-11-02T15:52:55.06457Z"},{"id":"openSUSE-SU-2024:13843-1","title":"pgadmin4-8.5-1.1 on GA media","description":"These are all security issues fixed in the pgadmin4-8.5-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:40:44.75138Z","updated_at":"2026-11-02T16:58:36.662953Z"}]}}
