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

- Severity: Critical 9.9 (CVSS:3.1, scored by PostgreSQL) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 79.5%, higher than 99% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-03-07T20:48:10.066Z
- Modified: 2026-11-16T16:00:04.731Z
- Also known as: GHSA-rj98-crf4-g69w, PYSEC-2026-453
- Weaknesses: CWE-22, CWE-31, CWE-502
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- pgadmin.org pgAdmin 4: before 8.4
- postgresql pgadmin_4: before 8.4
- fedoraproject fedora: 40
- pgadmin4 (PyPI): before 8.4
- pgadmin pgadmin_4: before 8.4

## Every score

- PostgreSQL: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H`
- PyPA Advisory Database: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H`

## References

- <https://www.shielder.com/advisories/pgadmin-path-traversal_leads_to_unsafe_deserialization_and_rce/> (exploit, mitigation, third-party-advisory)
- <https://github.com/pgadmin-org/pgadmin4/issues/7258> (issue-tracking, vendor-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LUYN2JXKKHFSVTASH344TBRGWDH64XQV/> (mailing-list)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-2044> (advisory)
- <https://github.com/pgadmin-org/pgadmin4/commit/4e49d752fba72953acceeb7f4aa2e6e32d25853d> (web)
- <https://github.com/pgadmin-org/pgadmin4> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/pgadmin4/PYSEC-2026-453.yaml> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LUYN2JXKKHFSVTASH344TBRGWDH64XQV> (web)
- <https://pypi.org/project/pgadmin4> (package, web)
- <https://www.shielder.com/advisories/pgadmin-path-traversal_leads_to_unsafe_deserialization_and_rce> (web)
- <https://github.com/advisories/GHSA-rj98-crf4-g69w> (advisory)

## Sources

- CVE List: [CVE-2024-2044](https://www.cve.org/CVERecord?id=CVE-2024-2044), CVE Terms of Use, modified 2025-02-13
- GitHub Advisory Database: [GHSA-rj98-crf4-g69w](https://github.com/advisories/GHSA-rj98-crf4-g69w), CC-BY-4.0, modified 2026-11-16
- NVD: [CVE-2024-2044](https://nvd.nist.gov/vuln/detail/CVE-2024-2044), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-453](https://osv.dev/vulnerability/PYSEC-2026-453), CC-BY-4.0, modified 2026-07-01

---

Page: https://cve.day/CVE-2024-2044 · Whole record: https://cve.day/CVE-2024-2044.json · Rebuilt by cve.day 2026-11-25T22:58:37.334Z
