Skip to content
Vulnerability Intelligence

CVE-2025-2945

HighPublic exploit

pgAdmin 4 Vulnerable to Remote Code Execution

Published Apr 3, 2025 · Updated Aug 12, 2026 · Also known as GHSA-g73c-fw68-pwx3, PYSEC-2026-451

Key Facts

Patch immediately
  • CVE-2025-2945 is a high-severity vulnerability (CVSS 8.8 v3.1) affecting pgAdmin 4, pgadmin4 (pypi), pgadmin4-cloud (suse) and 4 more products.
  • It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
  • EPSS estimates a 56% probability of exploitation in the next 30 days.
  • Fixed versions are available, including pgAdmin 4 9.2, pgadmin4 9.2, pgadmin4 9.2-1.1.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

CVSS v3.1

8.8

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

56%

Higher than 99.0% of all scored CVEs

Exploited in the wild

No known

Not in a known-exploited catalog

Public exploit code

Available

Proof-of-concept or weaponized module

Get the full CVE-2025-2945 brief as a PDF

Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.

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.

Affected Products

9 affected entries in total
ProductAffected versionsFixed in
pgAdmin 4PgadminSee advisory9.2
pgadmin4pypiSee advisory9.2
pgadmin4-cloudsuseSee advisory9.2-1.1
pgadmin4-desktopsuseSee advisory9.2-1.1
pgadmin4-docsuseSee advisory9.2-1.1
2 more affected products in the full CVE brief

Patched Releases

pgAdmin 4

9.2

pgadmin4

9.2, 9.2-1.1

pgadmin4-cloud

9.2-1.1

pgadmin4-desktop

9.2-1.1

pgadmin4-doc

9.2-1.1

pgadmin4-web-uwsgi

9.2-1.1

system-user-pgadmin

9.2-1.1

Timeline

  1. Publicly disclosed

    Apr 3, 2025

  2. Last updated

    Aug 12, 2026

Weakness Type

  • CWE-94 Improper Control of Generation of Code ('Code Injection')

References

3 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2025-2945 Running On Your Attack Surface?

Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.

Request A Demo