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.
References
| Link | Resource |
|---|---|
| https://github.com/pgadmin-org/pgadmin4/issues/8603 | Exploit Issue Tracking |
Configurations
History
17 Sep 2025, 18:04
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/pgadmin-org/pgadmin4/issues/8603 - Exploit, Issue Tracking | |
| First Time |
Pgadmin pgadmin 4
Pgadmin |
|
| CPE | cpe:2.3:a:pgadmin:pgadmin_4:*:*:*:*:*:postgresql:*:* |
07 Apr 2025, 14:18
| Type | Values Removed | Values Added |
|---|---|---|
| Summary |
|
03 Apr 2025, 18:15
| Type | Values Removed | Values Added |
|---|---|---|
| CWE | CWE-94 |
03 Apr 2025, 13:15
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2025-04-03 13:15
Updated : 2025-09-17 18:04
NVD link : CVE-2025-2945
Mitre link : CVE-2025-2945
CVE.ORG link : CVE-2025-2945
JSON object : View
Products Affected
pgadmin
- pgadmin_4
CWE
CWE-94
Improper Control of Generation of Code ('Code Injection')
