{"id":"CVE-2026-116246","kind":"vulnerability","aliases":["CVE-2026-116246"],"related":[],"title":"pgAdmin 4: saved database passwords leak between users in server mode","description":"To pass a server's password to psql and to the utilities pgAdmin 4 runs as background processes, the server manager wrote it into pgAdmin's own process environment: as PGPASSWORD for the PSQL tool, and under a per-process variable for a utility. Nothing removed it afterwards. pgAdmin's environment is shared by every user's requests and copied into every process it starts, so in server mode another user's later PSQL session or utility inherited the password, and libpq used PGPASSWORD for any connection made without a password of its own, letting one user connect with another user's saved password.\n\nThe fix puts the password only into the environment built for the process that needs it and starts psql with a copy of pgAdmin's environment instead of the environment itself.\n\nThis issue affects pgAdmin 4: before 9.19.","summary":"pgAdmin 4 wrote a server's saved password into its shared process environment and never removed it, so later sessions and tools could inherit it. In server mode, one user can connect to a database using another user's saved password.","severity":"high","cvss":7.0,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["package","pgadmin","postgresql","self-hosted"],"not_affected_if":["desktop-mode","single-user","version-9.19-or-later"],"how_to_check":"- Check the installed pgAdmin 4 version; the sources say versions before `9.19` are affected.\n- Check whether pgAdmin 4 runs in server mode with multiple users sharing one instance.","fix":"- pgAdmin 4: upgrade to `9.19` or later.","status":"open","published_at":"2026-10-30T20:17:04+00:00","first_seen_at":"2026-10-30T20:25:37+00:00","triaged_at":"2026-10-30T20:26:41+00:00","updated_at":"2026-10-30T20:26:41+00:00","category":"package","confidence":0.7,"triage":{"at":"2026-10-30T20:26:41Z","model":"claude-haiku-5-5","output":{"fix":"- pgAdmin 4: upgrade to `9.19` or later.","reach":"network","title":"pgAdmin 4: saved database passwords leak between users in server mode","impact":"medium","summary":"pgAdmin 4 wrote a server's saved password into its shared process environment and never removed it, so later sessions and tools could inherit it. In server mode, one user can connect to a database using another user's saved password.","audience":"businesses","category":"package","nicknames":[],"who_cares":["pgadmin","postgresql","self-hosted"],"confidence":0.7,"fix_status":"available","needs_auth":"yes","worst_case":"one user connects to databases using another user's saved password","analyst_note":"","how_to_check":"- Check the installed pgAdmin 4 version; the sources say versions before `9.19` are affected.\n- Check whether pgAdmin 4 runs in server mode with multiple users sharing one instance.","plain_action":"","needs_analyst":false,"not_affected_if":["desktop-mode","single-user","version-9.19-or-later"],"who_is_affected":"Teams running pgAdmin 4 in server mode, where several users share one instance and use saved database passwords. Desktop-only use with a single user is less exposed. Versions before 9.19 are affected per the sources.","user_interaction":"no","needs_special_setup":"yes","severity_if_unknown":"high"},"cost_usd":0.000667,"input_tokens":4280,"output_tokens":478,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-116246':14A,17A '-2026':13A,16A '4':2A,25B,78C,205C '9.19':207C 'affect':203C 'afterward':113C 'anoth':60B,135C,165C 'background':81C 'built':179C 'connect':55B,152C,163C 'copi':125C,191C 'could':46B 'cve':12A,15A 'databas':4A,58B 'environ':36B,93C,116C,178C,195C,199C 'everi':120C,127C 'fix':171C 'host':23B 'inherit':47B,143C 'instead':196C 'issu':202C 'later':42B,138C 'leak':6A 'let':160C 'libpq':147C 'made':153C 'manag':85C 'mode':11A,51B,134C 'need':184C 'never':38B 'noth':110C 'one':52B,161C 'packag':18B 'pass':66C 'password':5A,31B,64B,70C,145C,156C,169C,174C 'per':104C 'per-process':103C 'pgadmin':1A,19B,24B,77C,89C,114C,193C,204C 'pgpassword':95C,149C 'postgresql':20B 'process':35B,82C,92C,105C,128C,182C 'psql':72C,98C,139C,188C 'put':172C 'remov':39B,111C 'request':123C 'run':79C 'save':3A,30B,63B,168C 'self':22B 'self-host':21B 'server':10A,28B,50B,68C,84C,133C 'session':43B,140C 'share':34B,118C 'start':130C,187C 'tool':45B,99C 'use':59B,148C 'user':8A,53B,61B,121C,136C,162C,166C 'util':76C,109C,142C 'variabl':106C 'without':154C 'wrote':26B,86C","nicknames":[],"mitigations":[],"who_affected":"Teams running pgAdmin 4 in server mode, where several users share one instance and use saved database passwords. Desktop-only use with a single user is less exposed. Versions before 9.19 are affected per the sources.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"businesses","plain_action":null,"first_public_at":"2026-10-30T20:17:04+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:H/VI:N/VA:N/SC:H/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"f86ef6dc-4d3a-42ad-8f28-e6d5547a5007","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-116246","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-116246","severity":null,"published_at":"2026-10-30T20:17:04+00:00","modified_at":"2026-10-30T20:17:04+00:00","first_seen_at":"2026-10-30T20:25:37+00:00","fetched_at":"2026-10-30T20:25:37+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}