GitHub Advisoryadvisory · PyPI
GHSA-g73c-fw68-pwx3 pgAdmin 4 Vulnerable to Remote Code Execution
CRITICAL
Official page ↗
- Aliases
- CVE-2025-2945
- Ecosystem
- PyPI
- Packages
- pgadmin4
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- Weaknesses
- CWE-94
- Reviewed
- 2025-04-04
Affected packages
• PyPI pgadmin4: < 9.2 → fixed in 9.2
Description
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.
Related
Alias · CVE (1)
- CVE-2025-2945 Remote Code Execution security vulnerability in pgAdmin 4 (Query Tool and Cloud Deployment modules). vulnerability
Weakness · CWE (1)
- CWE-94 Improper Control of Generation of Code weakness