pgAdmin 4 vulnerable to Unsafe Deserialization and Remote Code Execution by an Authenticated user
pgAdmin prior to version 8.4 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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | pgadmin4 | < 8.4 | 8.4 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-2044
- https://github.com/pgadmin-org/pgadmin4/issues/7258
- https://github.com/pgadmin-org/pgadmin4/commit/4e49d752fba72953acceeb7f4aa2e6e32d25853d
- https://github.com/pgadmin-org/pgadmin4
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LUYN2JXKKHFSVTASH344TBRGWDH64XQV
- https://www.shielder.com/advisories/pgadmin-path-traversal_leads_to_unsafe_deserialization_and_rce
- https://pypi.org/project/pgadmin4
- https://github.com/advisories/GHSA-rj98-crf4-g69w
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H- Weakness (CWE)
CWE-22, CWE-31, CWE-502- Platform
- Python (PyPI)
- Package
pgadmin4- Disclosed
- 07.03.2024
- Updated
- 11.10.2026 12:20
Sources and licenses
OSV / GitHub Advisory Database - GHSA-rj98-crf4-g69w - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2026-453 - PyPA Advisory Database; CC BY 4.0
Vulnerability history: pgadmin4
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 28
- First → latest
- 03.2022 05.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 6
- High 14
- Medium 8
Disclosures per year
- 2022: 2
- 2023: 3
- 2024: 5
- 2025: 9
- 2026: 9
-
pgAdmin 4 vulnerable to Unsafe Deserialization and Remote Code Execution by an Authenticated user this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.