pgAdmin 4 Vulnerable to Remote Code Execution
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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | pgadmin4 | < 9.2 | 9.2 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-2945
- https://github.com/pgadmin-org/pgadmin4/issues/8603
- https://github.com/pgadmin-org/pgadmin4/commit/75be0bc22d3d8d7620711835db817bd7c021007c
- https://github.com/pgadmin-org/pgadmin4
- https://pypi.org/project/pgadmin4
- https://github.com/advisories/GHSA-g73c-fw68-pwx3
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H- Weakness (CWE)
CWE-94- Platform
- Python (PyPI)
- Package
pgadmin4- Disclosed
- 03.04.2025
- Updated
- 11.10.2026 12:20
Sources and licenses
OSV / GitHub Advisory Database - GHSA-g73c-fw68-pwx3 - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2026-451 - PyPA Advisory Database; CC BY 4.0
Vulnerability history: pgadmin4
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 28
- First → latest
- 03.2022 05.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 6
- High 14
- Medium 8
Disclosures per year
- 2022: 2
- 2023: 3
- 2024: 5
- 2025: 9
- 2026: 9
-
pgAdmin 4 Vulnerable to Remote Code Execution this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.