CVE-2025-2945
HighPublic exploitpgAdmin 4 Vulnerable to Remote Code Execution
Published Apr 3, 2025 · Updated Aug 12, 2026 · Also known as GHSA-g73c-fw68-pwx3, PYSEC-2026-451
Key Facts
Patch immediately- CVE-2025-2945 is a high-severity vulnerability (CVSS 8.8 v3.1) affecting pgAdmin 4, pgadmin4 (pypi), pgadmin4-cloud (suse) and 4 more products.
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 56% probability of exploitation in the next 30 days.
- Fixed versions are available, including pgAdmin 4 9.2, pgadmin4 9.2, pgadmin4 9.2-1.1.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
CVSS v3.1
8.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
56%
Higher than 99.0% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2025-2945 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
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
9 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| pgAdmin 4Pgadmin | See advisory | 9.2 |
| pgadmin4pypi | See advisory | 9.2 |
| pgadmin4-cloudsuse | See advisory | 9.2-1.1 |
| pgadmin4-desktopsuse | See advisory | 9.2-1.1 |
| pgadmin4-docsuse | See advisory | 9.2-1.1 |
Patched Releases
pgAdmin 4
9.2
pgadmin4
9.2, 9.2-1.1
pgadmin4-cloud
9.2-1.1
pgadmin4-desktop
9.2-1.1
pgadmin4-doc
9.2-1.1
pgadmin4-web-uwsgi
9.2-1.1
system-user-pgadmin
9.2-1.1
Timeline
Publicly disclosed
Apr 3, 2025
Last updated
Aug 12, 2026
Weakness Type
- CWE-94 Improper Control of Generation of Code ('Code Injection')
References
- advisoryGHSA advisory
- advisoryhttps://github.com/CVEProject/cvelistV5/tree/main/cves/2025/2xxx/CVE-2025-2945.json
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2025-2945
- exploitMSF pgadmin_query_tool_authenticated.rb
- articlehttps://github.com/pgadmin-org/pgadmin4/commit/75be0bc22d3d8d7620711835db817bd7c021007c
FAQ
Common Questions.
Remote Code Execution security vulnerability in pgAdmin 4 (Query Tool and Cloud Deployment modules).
Affected: pgAdmin 4; pgadmin4 (pypi); pgadmin4-cloud (suse), among others. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including pgAdmin 4 9.2, pgadmin4 9.2, pgadmin4 9.2-1.1.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2025-2945 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo