CVE-2025-2945
HIGH 8.8CVSS 3.1pgAdmin 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.
- Published
- 3 Apr 2025
- Last modified
- 16 Nov 2026
- Assigned by
- f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
- NVD status
- Analyzed
- Weakness
- CWE-94
- Also known as
- GHSA-g73c-fw68-pwx3PYSEC-2026-451
- Sources
- NVDJSONOSV GHSA-g73c-fw68-pwx3JSONOSV PYSEC-2026-451JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 (Secondary) | 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 |
| OSV | GitHub | 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 |
| OSV | PyPA | 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 | nvd@nist.gov (Primary) | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | pgadmin | pgadmin_4cpe:2.3:a:pgadmin:pgadmin_4:*:*:*:*:*:postgresql:*:* |
< 9.2 | 9.2 |
| OSV | PyPI | pgadmin4 | < 9.2 | 9.2 |
References
- https://github.com/pgadmin-org/pgadmin4/issues/8603 · Exploit, Issue Tracking, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-2945 · ADVISORY
- https://github.com/pgadmin-org/pgadmin4/commit/75be0bc22d3d8d7620711835db817bd7c021007c · WEB
- https://github.com/pgadmin-org/pgadmin4 · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/pgadmin4/PYSEC-2026-451.yaml · WEB
- https://pypi.org/project/pgadmin4 · WEB, PACKAGE
- https://github.com/advisories/GHSA-g73c-fw68-pwx3 · ADVISORY
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 3 Apr 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jun 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 3 Apr 2025)