Skip to content
OpenAdvisories
Critical · 9.9 Public exploit CVE-2024-2044 EUVD-2024-1004GHSA-rj98-crf4-g69wPYSEC-2026-453

Unsafe Deserialisation and Remote Code Execution by an Authenticated user in pgAdmin 4

Published Mar 7, 2024 · Updated Feb 13, 2025 · Assigned by PostgreSQL

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 products

VendorProductAffectedFixed
pgadmin.org pgAdmin 4 < 8.4 8.4

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
SLES 15 SP5 pgadmin4 4.30-150300.3.12.1 SUSE-SU-2024:1340-1
SLES 15 SP4 pgadmin4 4.30-150300.3.12.1 SUSE-SU-2024:1340-1
SLES 15 SP3 pgadmin4 4.30-150300.3.12.1 SUSE-SU-2024:1340-1
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP4 pgadmin4 4.30-150300.3.12.1 SUSE-SU-2024:1340-1
SLES for SAP 15 SP3 pgadmin4 4.30-150300.3.12.1 SUSE-SU-2024:1340-1
SLE HPC 15 SP4 pgadmin4 4.30-150300.3.12.1 SUSE-SU-2024:1340-1
SLE HPC 15 SP3 pgadmin4 4.30-150300.3.12.1 SUSE-SU-2024:1340-1
SUSE Manager Server 4.3 pgadmin4 4.30-150300.3.12.1 SUSE-SU-2024:1340-1
SUSE Manager Proxy 4.3 pgadmin4 4.30-150300.3.12.1 SUSE-SU-2024:1340-1
SUSE Enterprise Storage 7.1 pgadmin4 4.30-150300.3.12.1 SUSE-SU-2024:1340-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed pgadmin4 8.5-1.1 openSUSE-SU-2024:13843-1
openSUSE Leap 15.5 pgadmin4 4.30-150300.3.12.1 SUSE-SU-2024:1340-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.4 8.4 GHSA-rj98-crf4-g69w

Advisories 3

References