PoC Monitor
← All CVEs
CVE-2025-2945published 3 Apr 2025 12:23 UTCData: JSON · API

pgadmin.org pgAdmin 4

pgAdmin 4: Remote Code Execution in Query Tool and Cloud Deployment

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.

First public PoC 6.5 daysafter publication · 10 Apr 2025 · Metasploit
Public PoCs87 on GitHub · 1 Exploit-DB, Metasploit or nuclei
CVSS9.9critical · scored by CNA · CWE-94
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

pgadmin.org pgAdmin 4
  • < 9.2

Fixed in 9.2

Mitigation

Upgrade pgAdmin 4 to 9.2 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published3 Apr 2025 · t = 0First public PoC10 Apr 2025 · t+6.5d

First public PoC 6.5 days after publication; not in CISA KEV. First PoC: Metasploit exploit: pgAdmin Query Tool authenticated RCE (CVE-2025-2945) (exploit/multi/http/pgadmin_query_tool_authenticated) (Metasploit, 10 Apr 2025).

PoC repositories

Found on GitHub.

7 PoCs · 1 pending

PoCs 7
RepositoryCreatedStarsAssessment
abrewer251/CVE-2025-2945_PgAdmin_PoC 3 Jun 2025 +61 d 3 PoC
Cycloctane/cve-2025-2945-poc 13 Sep 2025 +163 d 8 PoC
I3r1h0n/pgAdminOpendoor 10 Nov 2025 +221 d 1 PoC
Udayveer17/CVE-2025-2945-pgAdmin4-Authenticated-RCE-PoC- 26 Nov 2025 +237 d 2 PoC
plur1bu5/CVE-2025-2945-pgadmin-rce 16 Mar 2026 +347 d 0 PoC
g0d150ne/CVE-2025-2945 10 Aug 2026 +1.4 y 0 PoC
Khashayarnzk/CVE-2025-2945-pgAdmin-RCE 26 Aug 2026 +1.4 y 0 PoC
Pending 1
RepositoryCreatedStarsAssessment
kairosart/Fries 19 Dec 2025 +260 d 1 Pending · repository exceeds size limit via PoC Index

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.