Unsafe Deserialisation and Remote Code Execution by an Authenticated user in pgAdmin 4
CVE-2024-2044Published 7 Mar 2024, 20:48 UTC
Real-world risk
6.0/ 10Medium
Schedule in the normal cycle
PreliminaryFrom the CVSS vector only · confidence low
CVSS
9.9
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.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.
Am I affected?
What to do
Update to a fixed version: 8.4.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 0.60 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T4: Weaponized (× 1.00)
A Metasploit module, a Nuclei template, or a verified Exploit-DB entry
- Metasploit module (link)
- CISA SSVC: proof of concept
EPSS 79.5% chance of exploitation in 30 days (percentile 100), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.600
- Threat T4: Weaponized1.000
- 10 × impact 1 × prerequisites 0.6 × threat 16.000
- Rounded to one decimal between 0.1 and 106.0
Exploitation and evidence timeline
- 7 Mar 2024 Published
- 3 Dec 2026 Metasploit module first seen
- 3 Dec 2026 CISA SSVC: proof of concept first seen
- 3 Dec 2026 Risk 6.0 (cvss fallback)
Weakness
CWE-31
References
- https://github.com/pgadmin-org/pgadmin4/issues/7258issue-tracking, x-transferred
- https://www.shielder.com/advisories/pgadmin-path-traversal_leads_to_unsafe_deserialization_and_rce/mitigation, x-transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/LUYN2JXKKHFSVTASH344TBRGWDH64XQV/x-transferred
- CVE-2024-2044 on CVE.org