Skip to content
Emerging threatsHigh

CVE-2025-2945pgAdmin 4 Code Injection

pgAdmin 4 Vulnerable to Remote Code Execution

Published Apr 3, 2025 · Updated Nov 16, 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.

Scores

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

Exploit maturity

Weaponized

ATLAS score

59/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Weaponized

Public exploit code

1

Proof-of-concept links

In-the-wild evidence

0

Reports of active use

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

10 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

    Nov 16, 2026

Weakness Type

  • CWE-94 Improper Control of Generation of Code

References

9 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2025-2945 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Dec 4, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.