Vulnerability · Published Apr 4, 2024 · Assigned by PostgreSQL

CVE-2024-3116Remote Code Execution Vulnerability through the validate binary path API in pgAdmin 4

High 7.4

In plain English

A high-severity command injection in pgAdmin 4 from pgadmin.org. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 65.8% (higher than 99.3% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit, public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.4High
Exploit odds (30 days)65.8%top 0.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling2Metasploit, Public PoC

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIpgadmin48.5GHSA-27jx-ffw8-xrqv
PyPIpgadmin48.5PYSEC-2026-1767

Affected products (as reported)

VendorProductVersions
pgadmin.org pgAdmin 4 0 – before 8.5

Weakness: CWE-77 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L

References