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.
References
Link Resource
https://github.com/pgadmin-org/pgadmin4/issues/8603 Exploit Issue Tracking
Configurations

Configuration 1 (hide)

cpe:2.3:a:pgadmin:pgadmin_4:*:*:*:*:*:postgresql:*:*

History

No history.

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')