{"id":"CVE-2026-116247","published":"2026-10-30T20:17:04Z","modified":"2026-11-06T17:17:15Z","title":"pgAdmin 4: libpq uses the pgAdmin service account's own password file and client certificate","vendor":"pgadmin.org","product":"pgAdmin 4","tier":"core","eol":null,"affectedVersions":[{"vendor":"pgadmin.org","product":"pgAdmin 4","versions":["< 9.19"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-11-06T16:16:42.722481Z","from":"CISA ADP","provenance":"source"},"nvdStatus":"Analyzed","description":{"text":"When a server in pgAdmin 4 had no password file, client certificate or client key configured, or the configured one could not be found, pgAdmin left the parameter out of the connection and libpq fell back to the defaults of the operating-system account running pgAdmin: ~/.pgpass, ~/.postgresql/postgresql.crt and postgresql.key, or PGPASSFILE, PGSSLCERT and PGSSLKEY. In server mode any user could therefore connect to a server with the service account's saved passwords or client certificate, and supplying only a copy of its public certificate was enough for libpq to pair it with the service account's private key. A pg_service.conf entry, or a maintenance database name read as a connection string by pg_dumpall, could bring the same files back for the utilities.\n\nThe fix gives each of these parameters a value in server mode, the user's own file or otherwise a path that can never be opened, in the connection string, in the environment of the utilities and in the --dbname connection string that ranks above a service entry. Desktop mode is unchanged.\n\nThis issue affects pgAdmin 4: before 9.19.","provenance":"source","from":"NVD"},"summary":null,"cvss":{"score":9.6,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","provenance":"source","from":"NVD"},"epss":{"score":0.00172,"percentile":0.06644,"date":"2026-11-21","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":8,"pulses":[{"name":"Known_Cve | Nov 8, 2026 | Part 1/3","url":"https://otx.alienvault.com/pulse/6aef3b029d93097c770c01f5","created":"2026-11-07"},{"name":"Known_Cve | Nov 7, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/6aede8f784dbfff6c3936472","created":"2026-11-06"},{"name":"Known_Cve | Nov 6, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/6aec980ed720361a0a8ef4af","created":"2026-11-05"},{"name":"Known_Cve | Nov 5, 2026 | Part 2/3","url":"https://otx.alienvault.com/pulse/6aeb4640975e6631ab96b181","created":"2026-11-04"},{"name":"Known_Cve | Nov 4, 2026 | Part 2/3","url":"https://otx.alienvault.com/pulse/6ae9f4a534e5bab82408f0f2","created":"2026-11-03"},{"name":"Known_Cve | Nov 3, 2026 | Part 2/2","url":"https://otx.alienvault.com/pulse/6ae8a2fbb750e3c9efe15713","created":"2026-11-02"},{"name":"Known_Cve | Nov 2, 2026 | Part 2/2","url":"https://otx.alienvault.com/pulse/6ae751f170a9e6cbc092a3eb","created":"2026-11-01"},{"name":"Known_Cve | Nov 1, 2026 | Part 3/3","url":"https://otx.alienvault.com/pulse/6ae6008a90b86330de9ba693","created":"2026-10-31"}],"provenance":"machine"},"cwes":[{"id":"CWE-522","name":"Insufficiently Protected Credentials"},{"id":"CWE-1188","name":"Initialization of a Resource with an Insecure Default"}],"references":[{"url":"https://github.com/pgadmin-org/pgadmin4/commit/32db693198f28b78fe2af12a726b80a68eb78cb2","tags":["Patch","patch"]},{"url":"https://github.com/pgadmin-org/pgadmin4/issues/10652","tags":["Issue Tracking","issue-tracking"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2026-114388","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-114388","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":null,"exploitRefs":[],"flow":[],"timeline":[{"date":"2026-10-30","kind":"published","label":"Published (NVD)","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-116247","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":10.2,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":1.33,"detail":"percentile 0.0664"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":0.0,"detail":"none found"},{"name":"Mentioned in OTX pulses","points":2.17,"detail":"8 pulses"},{"name":"CVSS severity","points":6.72,"detail":"base score 9.6"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"familyId":"fam-pgadmin-org-pgadmin-4-cve-2022-0959","parents":[{"from":"CVE-2024-4215","to":"CVE-2026-116247","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["web/pgadmin/tools/backup/__init__.py","web/pgadmin/tools/import_export/__init__.py","web/pgadmin/tools/maintenance/__init__.py","web/pgadmin/tools/restore/__init__.py"],"commits":["https://github.com/pgadmin-org/pgadmin4/commit/f4761f55f7cf6d56d6c5129f921393b0b47fd976","https://github.com/pgadmin-org/pgadmin4/commit/32db693198f28b78fe2af12a726b80a68eb78cb2"],"basis":"shared function","functions":["create_import_export_job","create_maintenance_job","set_value"]}]},{"from":"CVE-2025-12763","to":"CVE-2026-116247","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["web/pgadmin/tools/restore/__init__.py","web/pgadmin/utils/__init__.py"],"commits":["https://github.com/pgadmin-org/pgadmin4/commit/e374edc69239b3e02ecde895e27d9f9e488b87ee","https://github.com/pgadmin-org/pgadmin4/commit/32db693198f28b78fe2af12a726b80a68eb78cb2"],"basis":"shared function","functions":["get_restore_util_args"]}]},{"from":"CVE-2025-13780","to":"CVE-2026-116247","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["web/pgadmin/tools/restore/__init__.py"],"commits":["https://github.com/pgadmin-org/pgadmin4/commit/1d397395f75320ca1d4ed5e9ca721c603415e836","https://github.com/pgadmin-org/pgadmin4/commit/d5a909f14cb9713d89b49481ad1929fad89f4576","https://github.com/pgadmin-org/pgadmin4/commit/32db693198f28b78fe2af12a726b80a68eb78cb2"],"basis":"shared function","functions":["get_sql_util_args"]}]},{"from":"CVE-2026-1707","to":"CVE-2026-116247","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["web/pgadmin/tools/restore/__init__.py","web/pgadmin/utils/constants.py"],"commits":["https://github.com/pgadmin-org/pgadmin4/commit/32db693198f28b78fe2af12a726b80a68eb78cb2","https://github.com/pgadmin-org/pgadmin4/commit/62e2d18b0261f88086db65059a6078db07169f18"],"basis":"shared function","functions":["MessageType"]}]},{"from":"CVE-2026-116244","to":"CVE-2026-116247","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["web/pgadmin/misc/bgprocess/processes.py","web/pgadmin/utils/driver/psycopg3/__init__.py","web/pgadmin/utils/driver/psycopg3/server_manager.py"],"commits":["https://github.com/pgadmin-org/pgadmin4/commit/145e511f05eed69ebcadd3cd61ffea0a5b4c69a4","https://github.com/pgadmin-org/pgadmin4/commit/32db693198f28b78fe2af12a726b80a68eb78cb2"],"basis":"shared function","functions":["_set_env_variables","create_connection_string","get_connection"]}]},{"from":"CVE-2026-116245","to":"CVE-2026-116247","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["web/pgadmin/misc/bgprocess/processes.py","web/pgadmin/tools/backup/__init__.py","web/pgadmin/utils/__init__.py","web/pgadmin/utils/constants.py","web/pgadmin/utils/driver/psycopg3/server_manager.py"],"commits":["https://github.com/pgadmin-org/pgadmin4/commit/a0c8f4857f732c6f5e5bacf4b289b811bb5c6a06","https://github.com/pgadmin-org/pgadmin4/commit/32db693198f28b78fe2af12a726b80a68eb78cb2"],"basis":"shared function","functions":["MessageType","_set_env_variables","create_connection_string","set_value"]}]}],"children":[{"from":"CVE-2026-116247","to":"CVE-2026-116249","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["web/pgadmin/misc/bgprocess/processes.py","web/pgadmin/utils/__init__.py","web/pgadmin/utils/driver/psycopg3/server_manager.py"],"commits":["https://github.com/pgadmin-org/pgadmin4/commit/32db693198f28b78fe2af12a726b80a68eb78cb2","https://github.com/pgadmin-org/pgadmin4/commit/2afe505ef4a31591796449d54ab1604355ff06c2"],"basis":"shared function","functions":["create_connection_string","get_complete_file_path"]}]}]}}