CWE
94
Advisory Published
Advisory Published
Updated

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

First published: Thu Apr 03 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/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.

Credit: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007

Affected SoftwareAffected VersionHow to fix
pgAdmin 4<9.2
pip/pgadmin4<9.2
9.2

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

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.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203