CVE-2025-2945
Critical 9.9No known exploitationFix availablepgAdmin 4: Remote Code Execution in Query Tool and Cloud Deployment
Vendor advisory: GHSA-g73c-fw68-pwx3
Record last updated
CVSS score
Critical on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
No EPSS score available
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-94
Patching and mitigation
- Patch status
- Fix available (source: GitHub Advisory Database)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| pgadmin.org | pgAdmin 4 | all versions before 9.2 | 9.2 | CVE Program |
| pip | pgadmin4 | all versions before 9.2 | 9.2 | GitHub Advisory Database |
Timeline
Disclosure
CVE record published by PostgreSQL
Source: CVE Program (opens in a new tab)
Patch
Fix documented by GitHub Advisory Database