CVE-2025-2945: pgAdmin 4: Remote Code Execution in Query Tool and Cloud Deployment

Published Apr 3, 2025
·
Updated

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

3 affected componentsFixes available
pgAdmin pgAdmin 4<9.2
pip/pgadmin4<9.2
9.2
pgAdmin Pgadmin 4 Postgresql<9.2

Event History

Apr 3, 2025
CVE Published
via MITRE·12:23 PM
Data Sourced
via MITRE·12:23 PM
DescriptionSeverity
Data Sourced
via NVD·01:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:15 PM
Affected Software
Advisory Published
via GitHub·03:31 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

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.

3

Which versions of pgAdmin 4 are affected by CVE-2025-2945?

CVE-2025-2945 affects all versions of pgAdmin 4 prior to 9.2.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203