{"id":"CVE-2024-2044","kind":"vulnerability","aliases":["CVE-2024-2044","GHSA-rj98-crf4-g69w"],"related":[],"title":"pgAdmin 4 vulnerable to Unsafe Deserialization and Remote Code Execution by an Authenticated user","description":"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.","summary":"pgAdmin 4 before 8.4 has a path-traversal flaw in how it loads user session data, which leads to unsafe pickle deserialization. An attacker can run code on the server: unauthenticated on Windows, and after logging in on Linux and other POSIX systems.","severity":"critical","cvss":9.9,"epss":0.79465,"exploited":false,"exploited_at":null,"products":[{"name":"pgAdmin4","fixed":["8.4"],"affected":"< 8.4","ecosystem":"pypi"},{"name":"pgadmin 4","fixed":["8.4"],"affected":"< 8.4","ecosystem":"vendor"},{"name":"fedoraproject fedora","fixed":[],"affected":"= 40","ecosystem":"vendor"}],"ecosystems":["pypi","vendor"],"tags":["cwe-22","cwe-31","cwe-502","linux","package","pgadmin","postgresql","python","windows"],"not_affected_if":["version-8.4-or-later"],"how_to_check":"- Check the installed version: `pip show pgAdmin4` and compare against `8.4`\n- Find pgAdmin servers in your environment and note whether they run on Windows or POSIX","fix":"- pgAdmin 4 (pypi pgAdmin4): upgrade to `8.4` or later","status":"open","published_at":"2024-03-07T21:15:08+00:00","first_seen_at":"2026-11-16T15:48:11+00:00","triaged_at":"2026-11-16T15:50:13+00:00","updated_at":"2026-11-16T16:08:50+00:00","category":"package","confidence":0.8,"triage":{"at":"2026-11-16T15:50:13Z","model":"claude-haiku-5-5","output":{"fix":"- pgAdmin 4 (pypi pgAdmin4): upgrade to `8.4` or later","reach":"network","title":"pgAdmin 4: path traversal in session handling lets attackers run code","impact":"high","summary":"pgAdmin 4 before 8.4 has a path-traversal flaw in how it loads user session data, which leads to unsafe pickle deserialization. An attacker can run code on the server: unauthenticated on Windows, and after logging in on Linux and other POSIX systems.","audience":"businesses","category":"package","nicknames":[],"who_cares":["pgadmin","python","postgresql","windows","linux"],"confidence":0.8,"fix_status":"available","needs_auth":"unknown","worst_case":"Attacker runs code on the pgAdmin server","analyst_note":"","how_to_check":"- Check the installed version: `pip show pgAdmin4` and compare against `8.4`\n- Find pgAdmin servers in your environment and note whether they run on Windows or POSIX","plain_action":"","product_name":"","needs_analyst":false,"not_affected_if":["version-8.4-or-later"],"who_is_affected":"Teams that run pgAdmin 4 as a web server for database administration, especially on Windows where the flaw needs no login. Desktop-only use on a single machine is lower risk, but the vulnerable code path is the same. Installations at 8.4 or later are not affected.","user_interaction":"no","product_ecosystem":"","needs_special_setup":"unknown","severity_if_unknown":"critical"},"cost_usd":0.000735,"input_tokens":4667,"output_tokens":537,"severity_before":"critical"},"analyst_status":null,"analyst_note":null,"search":"'-2024':16A,24A '-2044':17A,25A '-22':32B '-31':34B '-502':36B '4':2A,28A,44B '8.4':46B,91C 'affect':93C 'attack':67B,118C,139C 'authent':13A,138C 'code':9A,70B,108C,128C,148C 'crf4':21A 'cve':15A,23A 'cwe':31B,33B,35B 'data':59B 'deseri':6A,65B,101C,122C,144C 'execut':10A,129C,149C 'fedora':30A 'fedoraproject':29A 'flaw':52B 'g69w':22A 'gain':127C,147C 'ghsa':19A 'ghsa-rj98-crf4-g69w':18A 'handl':107C 'lead':61B 'linux':37B,82B 'load':56B,120C 'log':79B 'object':125C,143C 'packag':38B 'path':50B,97C 'path-travers':49B,96C 'pgadmin':1A,27A,39B,43B,87C 'pgadmin4':26A 'pickl':64B,124C,142C 'posix':85B 'posix/linux':136C 'postgresql':40B 'prior':88C 'python':41B 'remot':8A,123C 'rj98':20A 'run':69B,113C,134C 'server':73B,111C,132C 'session':58B,103C,106C 'system':86B 'travers':51B,98C 'unauthent':74B,117C 'unsaf':5A,63B 'upload':141C 'user':14A,57B,102C 'version':90C 'vulner':3A,99C 'window':42B,76B,115C","nicknames":[],"mitigations":[],"who_affected":"Teams that run pgAdmin 4 as a web server for database administration, especially on Windows where the flaw needs no login. Desktop-only use on a single machine is lower risk, but the vulnerable code path is the same. Installations at 8.4 or later are not affected.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"businesses","plain_action":null,"pkeys":["4","fedora","fedoraprojectfedora","pgadmin4"],"ptokens":["fedora","fedoraproject","pgadmin","pgadmin4"],"labels":["critical","cwe22","cwe31","cwe502","linux","package","pgadmin","postgresql","pypi","python","vendor","windows"],"campaign_type":null,"search_a":"'-2024':16A,24A '-2044':17A,25A '4':2A,28A 'authent':13A 'code':9A 'crf4':21A 'cve':15A,23A 'deseri':6A 'execut':10A 'fedora':30A 'fedoraproject':29A 'g69w':22A 'ghsa':19A 'ghsa-rj98-crf4-g69w':18A 'pgadmin':1A,27A 'pgadmin4':26A 'remot':8A 'rj98':20A 'unsaf':5A 'user':14A 'vulner':3A","search_b":"'-22':32B '-31':34B '-502':36B '4':44B '8.4':46B 'attack':67B 'code':70B 'cwe':31B,33B,35B 'data':59B 'deseri':65B 'flaw':52B 'lead':61B 'linux':37B,82B 'load':56B 'log':79B 'packag':38B 'path':50B 'path-travers':49B 'pgadmin':39B,43B 'pickl':64B 'posix':85B 'postgresql':40B 'python':41B 'run':69B 'server':73B 'session':58B 'system':86B 'travers':51B 'unauthent':74B 'unsaf':63B 'user':57B 'window':42B,76B","search_c":"'8.4':91C 'affect':93C 'attack':118C,139C 'authent':138C 'code':108C,128C,148C 'deseri':101C,122C,144C 'execut':129C,149C 'gain':127C,147C 'handl':107C 'load':120C 'object':125C,143C 'path':97C 'path-travers':96C 'pgadmin':87C 'pickl':124C,142C 'posix/linux':136C 'prior':88C 'remot':123C 'run':113C,134C 'server':111C,132C 'session':103C,106C 'travers':98C 'unauthent':117C 'upload':141C 'user':102C 'version':90C 'vulner':99C 'window':115C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2024-03-07T21:15:08+00:00","kev":null,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","cvss_by":"GitHub","poc_count":1,"sources":[{"source":"ghsa","external_id":"GHSA-rj98-crf4-g69w","url":"https://github.com/advisories/GHSA-rj98-crf4-g69w","severity":"critical","published_at":"2024-03-07T21:30:22+00:00","modified_at":"2026-11-16T15:45:57+00:00","first_seen_at":"2026-11-16T15:48:11+00:00","fetched_at":"2026-11-16T15:56:53+00:00","note":null},{"source":"nvd","external_id":"CVE-2024-2044","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-2044","severity":null,"published_at":"2024-03-07T21:15:08+00:00","modified_at":"2026-06-17T07:23:36+00:00","first_seen_at":"2026-11-16T16:08:50+00:00","fetched_at":"2026-11-16T16:08:50+00:00","note":null}],"documents":[{"id":170779,"url":"https://github.com/pgadmin-org/pgadmin4/commit/4e49d752fba72953acceeb7f4aa2e6e32d25853d","title":"Patch: github.com","kind":"other","source":"ghsa","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":171105,"url":"https://github.com/pgadmin-org/pgadmin4/issues/7258","title":"Vendor advisory: github.com","kind":"vendor","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"advisory","confidence":null,"note":"Vendor advisory: github.com"},{"id":171106,"url":"https://www.shielder.com/advisories/pgadmin-path-traversal_leads_to_unsafe_deserialization_and_rce/","title":"Exploit: www.shielder.com","kind":"poc","source":"nvd","publisher":"research","text":null,"published_at":null,"relation":"poc","confidence":null,"note":"Exploit: www.shielder.com"}],"disclosures":[],"exploit_sources":[{"type":"poc","url":"https://www.shielder.com/advisories/pgadmin-path-traversal_leads_to_unsafe_deserialization_and_rce/"},{"type":"epss","score":0.79465,"url":"https://api.first.org/data/v1/epss?cve=CVE-2024-2044"}],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}