{"answers":{"affected":"3 open source packages ship an affected version, including pgadmin4 and pgAdmin4. It affects 2 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-2044 exists.","fix":"Upgrade pgadmin4 to 8.4 or later.","what":"CVE-2024-2044 is a critical unsafe deserialization vulnerability in Fedoraproject Fedora, published on 7 Mar 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-2044 and fix it if it is affected.\n\nWhat it is: CVE-2024-2044 is a critical unsafe deserialization vulnerability in Fedoraproject Fedora, published on 7 Mar 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-2044 exists.\n\nAffected packages and fixed versions:\n- pgadmin4 (PyPI): affected all versions; fixed in 8.4\n- pgadmin4 (PyPI): affected all versions; fixed in 8.4\n- pgAdmin4 (PyPI): affected all versions; fixed in 8.4\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-2044/ (Markdown: https://insights.sbomify.com/CVE-2024-2044/index.md)","id":"CVE-2024-2044","markdown":"https://insights.sbomify.com/CVE-2024-2044/index.md","name":"CVE-2024-2044","record":{"aliases":["GHSA-rj98-crf4-g69w","PYSEC-2026-453","SUSE-SU-2024:1340-1"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"PostgreSQL management tool","requires_auth":"low_privilege","summary":"Attackers can achieve remote code execution via unsafe deserialization of session data in pgAdmin 4, requiring authentication on Linux or none on Windows.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"PostgreSQL","cpe":[{"product":"fedora","vendor":"fedoraproject"},{"product":"pgadmin_4","vendor":"pgadmin"}],"cvss":{"score":9.9,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-31","name":"Path Traversal: 'dir\\..\\..\\filename'"}],"description":"pgAdmin \u003c= 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.","ecosystems":["PyPI","SUSE:Enterprise Storage 7.1","SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","SUSE:Linux Enterprise Module for Server Applications 15 SP5","SUSE:Linux Enterprise Server 15 SP3-LTSS","SUSE:Linux Enterprise Server 15 SP4-LTSS","SUSE:Linux Enterprise Server for SAP Applications 15 SP3","SUSE:Linux Enterprise Server for SAP Applications 15 SP4","SUSE:Manager Proxy 4.3","SUSE:Manager Server 4.3","openSUSE:Leap 15.5"],"exploits":{"exploitdb":0,"first_seen":"2024-03-04","github_poc":1,"max_poc_stars":1,"metasploit":1,"nuclei":0,"refs":[{"date":"2026-09-13T00:56:26Z","kind":"github_poc","ref":"https://github.com/hanzzly/CVE-2024-2044","stars":1,"title":null},{"date":"2024-03-04","kind":"metasploit","ref":"exploit/multi/http/pgadmin_session_deserialization","stars":null,"title":"pgAdmin Session Deserialization RCE"}],"tier":"weaponised"},"has_fix":true,"headline":"Unsafe Deserialisation and Remote Code Execution by an Authenticated user in pgAdmin 4","id":"CVE-2024-2044","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":"fedoraproject:fedora","products":["fedoraproject:fedora"],"type":"deserialization","year":"2024"},"n_packages":15,"n_references":3,"next":{"headline":"Session 1.17.5 - LFR via chat attachment","id":"CVE-2024-2045"},"packages":[{"ecosystem":"PyPI","fixed":["8.4"],"introduced":["0"],"last_affected":[],"package":"pgAdmin4","purl":null,"source":"GHSA-rj98-crf4-g69w"},{"ecosystem":"PyPI","fixed":["8.4"],"introduced":["0"],"last_affected":[],"package":"pgadmin4","purl":"pkg:pypi/pgadmin4","source":"GHSA-rj98-crf4-g69w"},{"ecosystem":"PyPI","fixed":["8.4"],"introduced":["0"],"last_affected":[],"package":"pgadmin4","purl":"pkg:pypi/pgadmin4","source":"PYSEC-2026-453"},{"ecosystem":"SUSE:Enterprise Storage 7.1","fixed":["4.30-150300.3.12.1"],"introduced":["0"],"last_affected":[],"package":"pgadmin4","purl":"pkg:rpm/suse/pgadmin4\u0026distro=SUSE%20Enterprise%20Storage%207.1","source":"SUSE-SU-2024:1340-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","fixed":["4.30-150300.3.12.1"],"introduced":["0"],"last_affected":[],"package":"pgadmin4","purl":"pkg:rpm/suse/pgadmin4\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSS","source":"SUSE-SU-2024:1340-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","fixed":["4.30-150300.3.12.1"],"introduced":["0"],"last_affected":[],"package":"pgadmin4","purl":"pkg:rpm/suse/pgadmin4\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOS","source":"SUSE-SU-2024:1340-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","fixed":["4.30-150300.3.12.1"],"introduced":["0"],"last_affected":[],"package":"pgadmin4","purl":"pkg:rpm/suse/pgadmin4\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSS","source":"SUSE-SU-2024:1340-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Server Applications 15 SP5","fixed":["4.30-150300.3.12.1"],"introduced":["0"],"last_affected":[],"package":"pgadmin4","purl":"pkg:rpm/suse/pgadmin4\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP5","source":"SUSE-SU-2024:1340-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP3-LTSS","fixed":["4.30-150300.3.12.1"],"introduced":["0"],"last_affected":[],"package":"pgadmin4","purl":"pkg:rpm/suse/pgadmin4\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP3-LTSS","source":"SUSE-SU-2024:1340-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP4-LTSS","fixed":["4.30-150300.3.12.1"],"introduced":["0"],"last_affected":[],"package":"pgadmin4","purl":"pkg:rpm/suse/pgadmin4\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP4-LTSS","source":"SUSE-SU-2024:1340-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP3","fixed":["4.30-150300.3.12.1"],"introduced":["0"],"last_affected":[],"package":"pgadmin4","purl":"pkg:rpm/suse/pgadmin4\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP3","source":"SUSE-SU-2024:1340-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP4","fixed":["4.30-150300.3.12.1"],"introduced":["0"],"last_affected":[],"package":"pgadmin4","purl":"pkg:rpm/suse/pgadmin4\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP4","source":"SUSE-SU-2024:1340-1"},{"ecosystem":"SUSE:Manager Proxy 4.3","fixed":["4.30-150300.3.12.1"],"introduced":["0"],"last_affected":[],"package":"pgadmin4","purl":"pkg:rpm/suse/pgadmin4\u0026distro=SUSE%20Manager%20Proxy%204.3","source":"SUSE-SU-2024:1340-1"},{"ecosystem":"SUSE:Manager Server 4.3","fixed":["4.30-150300.3.12.1"],"introduced":["0"],"last_affected":[],"package":"pgadmin4","purl":"pkg:rpm/suse/pgadmin4\u0026distro=SUSE%20Manager%20Server%204.3","source":"SUSE-SU-2024:1340-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["4.30-150300.3.12.1"],"introduced":["0"],"last_affected":[],"package":"pgadmin4","purl":"pkg:rpm/opensuse/pgadmin4\u0026distro=openSUSE%20Leap%2015.5","source":"SUSE-SU-2024:1340-1"}],"prev":{"headline":"Missing authorization in EleForms – All In One Form Integration including DB for Elementor","id":"CVE-2024-2043"},"products":["pgAdmin 4"],"published":"2024-03-07","related":[{"cvss_score":9.8,"headline":"PHP-CGI OS Command Injection","id":"CVE-2024-4577","kev_date_added":"2024-06-12","published":"2024-06-09"},{"cvss_score":9.8,"headline":"Grafana Authentication Bypass","id":"CVE-2021-39226","kev_date_added":"2022-08-25","published":"2021-10-05"},{"cvss_score":9.8,"headline":"VMware ESXi and Horizon DaaS OpenSLP Heap-Based Buffer Overflow","id":"CVE-2019-5544","kev_date_added":"2021-11-03","published":"2019-12-06"},{"cvss_score":9.6,"headline":"Google Chromium V8 Type Confusion","id":"CVE-2024-4947","kev_date_added":"2024-05-20","published":"2024-05-15"},{"cvss_score":9.6,"headline":"Google Chromium Visuals Use-After-Free","id":"CVE-2024-4671","kev_date_added":"2024-05-13","published":"2024-05-09"},{"cvss_score":9.6,"headline":"Google Chromium Mojo Insufficient Data Validation","id":"CVE-2022-3075","kev_date_added":"2022-09-08","published":"2022-09-26"},{"cvss_score":9.6,"headline":"Google Chromium Indexed DB API Use-After-Free","id":"CVE-2021-30633","kev_date_added":"2021-11-03","published":"2021-10-08"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-02-13","vendors":["pgadmin.org"]},"summary":"Attackers can achieve remote code execution via unsafe deserialization of session data in pgAdmin 4, requiring authentication on Linux or none on Windows.","url":"https://insights.sbomify.com/CVE-2024-2044/"}