CVE-2024-2044
Unsafe Deserialisation and Remote Code Execution by an Authenticated user in pgAdmin 4
- State
- Published
- Severity
- 9.9 Critical
- Published
- Mar 7, 2024
- Updated
- Feb 13, 2025
- Reserved
- Feb 29, 2024
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 9.9 Critical | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H | PostgreSQL |
Weaknesses
- CWE-31 Path Traversal: 'dir\..\..\filename'
Affected Products
| Product | Versions |
|---|---|
pgAdmin 4pgadmin.org |
|
References
- https://github.com/pgadmin-org/pgadmin4/issues/7258issue-tracking
- https://www.shielder.com/advisories/pgadmin-path-traversal_leads_to_unsafe_deserialization_and_rce/mitigation
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LUYN2JXKKHFSVTASH344TBRGWDH64XQV/
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.