Skip to main content
← All vulnerabilities
CVE-2025-2945PYSEC-2026-451GHSA-G73C-FW68-PWX3

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 9.2
1 Metasploit module, 7 proofs of concept on GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated
  4. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • pgadmin.org pgAdmin 4

    fixed in 9.2

  • pgadmin4PyPI

    fixed in 9.2

References 9

GitHub · pgadmin-org/pgadmin4

GitHub · rapid7/metasploit-framework

GitHub · Cycloctane/cve-2025-2945-poc

GitHub · I3r1h0n/pgAdminOpendoor

GitHub · Khashayarnzk/CVE-2025-2945-pgAdmin-RCE

GitHub · Udayveer17/CVE-2025-2945-pgAdmin4-Authenticated-RCE-PoC-

GitHub · abrewer251/CVE-2025-2945_PgAdmin_PoC

GitHub · g0d150ne/CVE-2025-2945

GitHub · plur1bu5/CVE-2025-2945-pgadmin-rce