Skip to content

pgAdmin 4

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

CVE-2024-3116Published 4 Apr 2024, 14:59 UTC

Real-world risk

1.8/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

7.4

scored by the vendor (CNA), CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from PostgreSQL)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
pgAdmin 4Common< 8.58.5
pgadminNiche< 8.58.5

What to do

Update to a fixed version: 8.5.

Why this score

FactorValueEvidence×
ImpactMinorReflected XSS, CSRF with low effect, open redirect, minor leakFrom the CVSS vector0.30
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededLowA real low-privileged accountFrom the CVSS vector0.60
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T4: Weaponized (× 1.00)

A Metasploit module, a Nuclei template, or a verified Exploit-DB entry

  • Public proof of concept on GitHub
  • Metasploit module (link)
  • CISA SSVC: proof of concept

EPSS 65.3% chance of exploitation in 30 days (percentile 99), as of 2026-12-03.

The arithmetic
  1. Prerequisites multiplied together0.600
  2. Threat T4: Weaponized1.000
  3. 10 × impact 0.3 × prerequisites 0.6 × threat 11.800
  4. Rounded to one decimal between 0.1 and 101.8

How the score works

Exploitation and evidence timeline

  1. 4 Apr 2024 Published
  2. 3 Dec 2026 Public proof of concept on GitHub first seen
  3. 3 Dec 2026 Metasploit module first seen
  4. 3 Dec 2026 CISA SSVC: proof of concept first seen
  5. 3 Dec 2026 Risk 1.8 (cvss fallback)

Weakness

CWE-77

References

Get alerts for pgAdmin 4

Free email or text alerts when a vulnerability in pgAdmin 4 reaches risk 8 or higher. Nothing else.