RCE in Pgadmin 4

CVE-2025-2945

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.

Vulnerability class: RCE (Remote Code Execution)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 9.9 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.563 (99.0th percentile), scored .

High probability of exploitation in the next 30 days — patch promptly. 99th percentile — 99.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2025-2945: held from 0.563 to 0.563.

EPSS over last 30 days · oldest: 0.563 · newest: 0.563 · change: 0.000

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2025-2945?
CVE-2025-2945 is a critical-severity vulnerability in Pgadmin 4, classified under Code Injection. CVSS score: 9.9/10. Published 2025-04-03.
How severe is CVE-2025-2945?
Critical severity. CVSS v3 base score is 9.9 out of 10.
Is CVE-2025-2945 known to be exploited?
18 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.