9.9

CVE-2025-2945: pgAdmin 4: Remote Code Execution in Query Tool and Cloud Deployment

Analyzed
AliasesGHSA-g73c-fw68-pwx3PYSEC-2026-451
Published 03-04-2025Last modified 26-02-2026

Vulnerability summary

CVE-2025-2945 is a critical (CVSS 9.9) Improper Control of Generation of Code vulnerability in pgadmin pgadmin_4. EPSS estimates a 56.30% chance of exploitation in the next 30 days, higher than 99% of scored vulnerabilities. 2 public exploits are recorded.

Priority
Prioritiseweaponized exploit

Weaponized exploit (Metasploit, 03-04-2025)

Source freshness unavailable

How is this decided?
CVSS score
9.9/10
010
Critical · v3.1 (CVE.org)
EPSS score
56.30%
0%100%
Critical · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits2github, metasploit

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 03-04-2025
    PublishedVulnerability first disclosed.
  2. 26-02-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

56.30%

Chance of exploitation in the next 30 days

Percentile

99%

Versus all other CVEs

30-day change

No change 0.00 pp

From 56.30% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

2 found
  • githubUnverified

    Pgadmin4

    Maturity: poc

  • MetasploitMetasploitremoteVerified

    pgAdmin Query Tool authenticated RCE (CVE-2025-2945)

    exploit/multi/http/pgadmin_query_tool_authenticated

    Maturity: weaponized

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Pgadmin1 product
Pgadmin.org1 product
PyPI1 product
  • pgadmin4< 9.2

3 vendors · 3 products

References

6 links