CVE-2025-2945: critical vulnerability in pgadmin.org pgAdmin 4
pgAdmin 4: Remote Code Execution in Query Tool and Cloud Deployment
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
75Vexday Risk Score
Patch soon. It has a working public exploit.
ssvc Attendcvss 9.9epss 56%
from disclosure to weapon61 days
Published on NVDApr 3
1st PoC+61d
metasploitApr 3
What the vendors declare (VEX)
Official vendor statements in CSAF/VEX format: whether their product is affected, already fixed, or ruled out — and why. These are the vendor's assertions, not Vexday's judgment.
Red HatVEX document ↗
Not affected
1 product — because the vulnerable code is not present in the product
red_hat_products
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.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Affected products
pgadmin.org · pgAdmin 4public PoCs found — 5
githubgithub.com/Cycloctane/cve-2025-2945-poc★ 7githubgithub.com/abrewer251/CVE-2025-2945_PgAdmin_PoC★ 3githubgithub.com/ExtremeUday/CVE-2025-2945-pgAdmin4-Authenticated-RCE-PoC-★ 2githubgithub.com/I3r1h0n/pgAdminOpendoor★ 0githubgithub.com/plur1bu5/CVE-2025-2945-pgadmin-rce★ 0⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.
Related CVEs — pgadmin.org pgAdmin 4
In the same product, most dangerous first.
CVE-2024-2044CRITICALUnsafe Deserialisation and Remote Code Execution by an Authenticated user in pgAdmin 4EPSS 79.5%CVE-2024-3116HIGHRemote Code Execution Vulnerability through the validate binary path API in pgAdmin 4EPSS 65.8%CVE-2025-12762CRITICALRemote Code Execution vulnerability when restoring PLAIN-format SQL dumps in server mode (pgAdmin 4)EPSS 12.7%CVE-2024-9014CRITICALOAuth2 client id and secret exposed through the web browser in pgAdmin 4EPSS 9.7%CVE-2026-7816HIGHpgAdmin 4: OS command injection in Import/Export query export via psql metacommand breakoutEPSS 1.4%CVE-2026-12046CRITICALpgAdmin 4: Unauthenticated pickle deserialization in SQL Editor close / update_connection routes enables remote code executionEPSS 1.0%