CVE-2025-2945
Critical · 9.9pgAdmin 4 Vulnerable to Remote Code Execution
CVSS
9.9
EPSS
56.3%
Published
Apr 3, 2025
CISA due date
—
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| PyPI | pgadmin4 | 0 | 9.2 |
| openSUSE:Tumbleweed | pgadmin4 | 0 | 9.2-1.1 |
Related vulnerabilities
- GHSA-3p7x-94q9-jq9x pgadmin4 affected by a Restore restriction bypass via key disclosure vulnerability Also affects pgadmin4
- CVE-2026-1707 pgAdmin versions 9.11 are affected by a Restore restriction bypass via key disclosure… Also affects pgadmin4
- GHSA-fxmw-jcgr-w44v pgadmin4 has a Meta-Command Filter Command Execution Also affects pgadmin4
- CVE-2025-13780 pgadmin4 has a Meta-Command Filter Command Execution Also affects pgadmin4
- GHSA-cvf4-f829-762v pgAdmin is affected by an LDAP injection vulnerability Also affects pgadmin4
- GHSA-g4r8-3qmh-pmch pgAdmin has vulnerability in LDAP authentication mechanism that allows bypassing TLS… Also affects pgadmin4
- GHSA-rm79-x4g6-hvg5 pgAdmin 4 has command injection vulnerability on Windows systems Also affects pgadmin4
- GHSA-w2p4-p4rh-qcm3 pgAdmin4 vulnerable to Remote Code Execution (RCE) when running in server mode Also affects pgadmin4