CVE-2025-2945pgAdmin 4 Code Injection
pgAdmin 4 Vulnerable to Remote Code Execution
Published Apr 3, 2025 · Updated Nov 16, 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.
Scores
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
Exploit maturity
Weaponized
ATLAS score
59/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Weaponized
Public exploit code
1
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
- advisoryhttps://www.cve.org/CVERecord?id=CVE-2025-2945
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2025-2945
- advisoryGHSA advisory
- advisoryhttps://github.com/pypa/advisory-database/tree/main/vulns/pgadmin4/PYSEC-2026-451.yaml
- advisoryhttps://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/BYON52PV4P44MGBG55FDOG2SP2G266ZO/
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
10 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
Nov 16, 2026
Weakness Type
- CWE-94 Improper Control of Generation of Code
References
- advisorycve.org · CVERecord
- advisorynvd.nist.gov · CVE-2025-2945
- advisoryGHSA advisory
- advisorygithub.com · PYSEC-2026-451.yaml
- advisorylists.opensuse.org · BYON52PV4P44MGBG55FDOG2SP2G266ZO
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 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo