pgAdmin 4 Vulnerable to Remote Code Execution
Critical severity
GitHub Reviewed
Published
Apr 3, 2025
to the GitHub Advisory Database
•
Updated Apr 4, 2025
Description
Published by the National Vulnerability Database
Apr 3, 2025
Published to the GitHub Advisory Database
Apr 3, 2025
Reviewed
Apr 4, 2025
Last updated
Apr 4, 2025
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