CVE-2025-2945: Pgadmin4 · pgAdmin 4 Vulnerable to Remote Code Execution
Affects pgadmin4Source GCVE Database
Public exploit available (Metasploit) · CVSS 9.9 Critical : upgrade to 9.2 as a priority.
Data as of 16 Nov 2026, 16:48 UTC
- Patch
- Available – fixed in 9.2
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 3 Apr 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 15 Nov 2026.
What to do
Upgrade pgadmin4 to 9.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIpgadmin4 | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade pgAdmin 4 to version 9.2 or later, where this vulnerability is fixed. Since a patch is available, applying the official update is the recommended mitigation. No alternative mitigations or workarounds are indicated.
Description
pgAdmin 4 versions prior to 9.2 contain a critical remote code execution vulnerability in two POST endpoints. The flaw arises from unsafe use of Python's eval() function on user-supplied parameters, allowing attackers to execute arbitrary code remotely. This vulnerability has a CVSS score of 9.9 and affects the Query Tool and Cloud Deployment modules. A fix is available in version 9.2. Public exploit code exists in Metasploit, but no active exploitation in the wild has been reported.
References
- nvd.nist.gov/vuln/detail/CVE-2025-2945 (opens in a new tab)
- github.com/pgadmin-org/pgadmin4/issues/8603 (opens in a new tab)
- github.com/pgadmin-org/pgadmin4/commit/75be0bc22d3d8d7620711835db817bd7c021007c (opens in a new tab)
- github.com/pgadmin-org/pgadmin4 (opens in a new tab)
- github.com/pypa/advisory-database/tree/main/vulns/pgadmin4/PYSEC-2026-451.yaml (opens in a new tab)
- pypi.org/project/pgadmin4 (opens in a new tab)