{"id":"CVE-2025-12763","published":"2025-11-13T13:00:08Z","modified":"2026-02-26T16:57:06Z","title":"Command injection vulnerability allowing arbitrary command execution on Windows","vendor":"pgadmin.org","product":"pgAdmin 4","tier":"tail","description":{"text":"pgAdmin 4 versions up to 9.9 are affected by a command injection vulnerability on Windows systems. This issue is caused by the use of shell=True during backup and restore operations, enabling attackers to execute arbitrary system commands by providing specially crafted file path input.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01373,"percentile":0.72113,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/pgadmin-org/pgadmin4/issues/9323","tags":["issue-tracking"]}],"priority":{"score":19.2,"factors":[{"name":"EPSS percentile","points":14.42},{"name":"CVSS severity","points":4.76}]},"vendorSlug":"pgadmin-org","affectedVersions":[{"vendor":"pgadmin.org","product":"pgAdmin 4","versions":["<= 9.9"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-11-14T04:55:29.063595Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"pgadmin4","vulnerableRanges":["<9.10"],"patched":["9.10"],"from":["GHSA-rm79-x4g6-hvg5","PYSEC-2026-1776"],"provenance":"source"}],"summary":{"text":"pgAdmin 4 versions up to 9.9 contain a command injection flaw on Windows in the backup and restore functionality, which invokes system commands with shell=True. An attacker can execute arbitrary system commands by supplying specially crafted file path input, and this requires high privileges, plus user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:00:18Z"},"euvd":{"id":"EUVD-2025-169295","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-pgadmin-org-pgadmin-4-cve-2022-0959","children":[{"from":"CVE-2025-12763","to":"CVE-2026-116240","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["web/pgadmin/utils/__init__.py"],"commits":["https://github.com/pgadmin-org/pgadmin4/commit/e374edc69239b3e02ecde895e27d9f9e488b87ee","https://github.com/pgadmin-org/pgadmin4/commit/ad6c028cff625a095676065767c7b80219205d28"],"basis":"shared function","functions":["filename_with_file_manager_path"]}]},{"from":"CVE-2025-12763","to":"CVE-2026-116246","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["web/pgadmin/misc/bgprocess/process_executor.py"],"commits":["https://github.com/pgadmin-org/pgadmin4/commit/e374edc69239b3e02ecde895e27d9f9e488b87ee","https://github.com/pgadmin-org/pgadmin4/commit/0eefa38f774dce07c1f939d87f2993b36e2313b9"],"basis":"shared function","functions":["execute"]}]},{"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-12763","to":"CVE-2026-116250","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/99f5606e2ebc7c94c7acdbab877ce7de54bfc756","https://github.com/pgadmin-org/pgadmin4/commit/c4321b9968342716f34bc5f10de6cac3c0567e68"],"basis":"shared function","functions":["filename_with_file_manager_path"]}]}]}}