Skip to content
OpenAdvisories
High · 7.4 Public exploit CVE-2024-3116 EUVD-2024-1054GHSA-27jx-ffw8-xrqvPYSEC-2026-1767

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

Published Apr 4, 2024 · Updated Mar 14, 2025 · Assigned by PostgreSQL

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

VendorProductAffectedFixed
pgadmin.org pgAdmin 4 < 8.5 8.5

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed pgadmin4 8.5-1.1 openSUSE-SU-2024:13843-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI pgadmin4 < 8.5 8.5 GHSA-27jx-ffw8-xrqv

Advisories 2

References