pgAdmin 4: Remote Code Execution in Query Tool and Cloud Deployment (pgadmin.org pgAdmin 4)
At a glance
- Source
- NVD
- EPSS
- EPSS 56.30 % · percentile 99 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- PostgreSQL
- NVD status
- Analyzed
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.
Weaknesses (CWE)
- CWE-94 — Improper Control of Generation of Code
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H | PostgreSQL |
| CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H | NVD · f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 (Secondary) |
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
Advisories
- GHSA-g73c-fw68-pwx3 — pgAdmin 4 Vulnerable to Remote Code Execution
- PYSEC-2026-451 — pgAdmin 4 Vulnerable to Remote Code Execution
European references
- ENISA EUVD · EUVD-2025-9605
- GCVE · GCVE-0-2025-2945
Affected configurations (NVD CPE)
cpe:2.3:a:pgadmin:pgadmin_4:*:*:*:*:*:postgresql:*:*< 9.2
Affected products
| Product | Versions |
|---|---|
| pgadmin.org · pgAdmin 4 | affected 0 < 9.2 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |