RCE in Pgadmin 4
CVE-2025-2945
Remote Code Execution security vulnerability in pgAdmin 4 (Query Tool and Cloud Deployment modules). The 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. This issue affects pgAdmin 4: before 9.2.
Vulnerability class: RCE (Remote Code Execution)
EPSS: 0.538 (98.9th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.9 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H.
Affected products
- Pgadmin Pgadmin_4
- Pgadmin.org Pgadmin 4 — versions 0
Weakness classification (CWE)
Public proof-of-concept exploits
- Cycloctane/cve-2025-2945-poc
- abrewer251/CVE-2025-2945_PgAdmin_PoC
- ExtremeUday/CVE-2025-2945-pgAdmin4-Authenticated-RCE-PoC-
- Udayveer17/CVE-2025-2945-pgAdmin4-Authenticated-RCE-PoC-
- Khashayarnzk/CVE-2025-2945-pgAdmin-RCE
- g0d150ne/CVE-2025-2945
- plur1bu5/CVE-2025-2945-pgadmin-rce
- I3r1h0n/pgAdminOpendoor
- rapid7/metasploit-framework
- Threekiii/Awesome-POC
References
- f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 (issue-tracking, Exploit, Issue Tracking)
Frequently asked questions
- What is CVE-2025-2945?
- CVE-2025-2945 is a critical-severity vulnerability in Pgadmin 4, classified under Code Injection. CVSS score: 9.9/10. Published 2025-04-03.
- How severe is CVE-2025-2945?
- Critical severity. CVSS v3 base score is 9.9 out of 10.
- Is CVE-2025-2945 known to be exploited?
- 18 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.