CRITICAL
pgAdmin 4: Remote Code Execution in Query Tool and Cloud Deployment
Published Apr 3, 2025
9.9
CRITICALCVSS 3.1
EPSS 56.30%
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.
Affected products
-
- Version 0StatusaffectedConstraints<9.2
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Pgadmin.org | pgAdmin 4 | affected |
|
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Weaknesses (1)
References (5)
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-9605 Advisory
- https://github.com/advisories/GHSA-g73c-fw68-pwx3 Advisory
- https://github.com/pgadmin-org/pgadmin4/commit/75be0bc22d3d8d7620711835db817bd7c021007c
- https://github.com/pgadmin-org/pgadmin4/issues/8603 issue-trackingExploitIssue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2025-2945
| Link | Providers | Tags |
|---|---|---|
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-9605 | Advisory | |
| https://github.com/advisories/GHSA-g73c-fw68-pwx3 | Advisory | |
| https://github.com/pgadmin-org/pgadmin4/commit/75be0bc22d3d8d7620711835db817bd7c021007c | ||
| https://github.com/pgadmin-org/pgadmin4/issues/8603 | issue-trackingExploitIssue Tracking | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-2945 |
Change history (0)
No recorded changes yet.
Sources
CVE.org / MITRE
Status PUBLISHED
Assigner PostgreSQL
Published Apr 3, 2025
Updated Feb 26, 2026
Reserved Mar 29, 2025
Link CVE-2025-2945
CISA Vulnrichment
Updated Apr 4, 2025
ENISA EUVD
EUVD-2025-9605 GHSA-G73C-FW68-PWX3 Assigner PostgreSQL
Published Apr 3, 2025
Updated Feb 26, 2026
Exploited since n/a
Link EUVD-2025-9605