{"id":"CVE-2025-2945","aliases":["GHSA-g73c-fw68-pwx3","PYSEC-2026-451"],"url":"https://o3.security/vulnerability/CVE-2025-2945","summary":"pgAdmin 4: Remote Code Execution in Query Tool and Cloud Deployment","details":"Remote Code Execution security vulnerability in pgAdmin 4  (Query Tool and Cloud Deployment modules).\n\nThe vulnerability is associated with the 2 POST endpoints; /sqleditor/query_tool/download, where the query_commited parameter and /cloud/deploy endpoint, where the high_availability parameter is unsafely passed to the Python eval() function, allowing arbitrary code execution.\n\n\nThis issue affects pgAdmin 4: before 9.2.","published":"2025-04-03T12:23:14.792Z","modified":"2026-08-12T03:51:34.145977830Z","cvss":{"score":9.9,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":2,"affectedPackages":[{"ecosystem":"PyPI","name":"pgadmin4","fixedVersion":"9.2"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/2xxx/CVE-2025-2945.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-2945"},{"type":"REPORT","url":"https://github.com/pgadmin-org/pgadmin4/issues/8603"},{"type":"PACKAGE","url":"https://github.com/pgadmin-org/pgadmin4"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:34.145977830Z"}}