Vulnerability · Published Mar 7, 2024 · Assigned by PostgreSQL

CVE-2024-2044Unsafe Deserialisation and Remote Code Execution by an Authenticated user in pgAdmin 4

Critical 9.9

In plain English

A critical-severity security flaw 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 79.5% (higher than 99.6% 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)9.9Critical
Exploit odds (30 days)79.5%top 0.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling2Metasploit, Public PoC

Official description

pgAdmin <= 8.3 is affected by a path-traversal vulnerability while deserializing users’ sessions in the session handling code. If the server is running on Windows, an unauthenticated attacker can load and deserialize remote pickle objects and gain code execution. If the server is running on POSIX/Linux, an authenticated attacker can upload pickle objects, deserialize them, and gain code execution.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIpgadmin48.4GHSA-rj98-crf4-g69w
PyPIpgadmin48.4PYSEC-2026-453

Affected products (as reported)

VendorProductVersions
pgadmin.org pgAdmin 4 0 – before 8.4

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

References