CVE-2025-2945: pgAdmin 4: Remote Code Execution in Query Tool and Cloud Deployment
Remote Code Execution security vulnerability in pgAdmin 4 (Query Tool and Cloud Deployment modules).
The vulnerability is associated with the 2 POST endpoints; /sqleditor/querytool/download, where the querycommited parameter and /cloud/deploy endpoint, where the highavailability parameter is unsafely passed to the Python eval() function, allowing arbitrary code execution.
This issue affects pgAdmin 4: before 9.2.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-2945?
CVE-2025-2945 has been classified as a high severity remote code execution vulnerability in pgAdmin 4.
How do I fix CVE-2025-2945?
To fix CVE-2025-2945, it is recommended to upgrade pgAdmin 4 to the latest version that addresses this vulnerability.
Which versions of pgAdmin 4 are affected by CVE-2025-2945?
CVE-2025-2945 affects all versions of pgAdmin 4 prior to 9.2.
What components of pgAdmin 4 are vulnerable in CVE-2025-2945?
CVE-2025-2945 affects the Query Tool and Cloud Deployment modules in pgAdmin 4.
Is remote code execution possible with CVE-2025-2945?
Yes, CVE-2025-2945 allows for remote code execution through specific POST endpoints in pgAdmin 4.