Skip to content
Threat Brief

← All advisories

CVE-2025-2945

Critical 9.9No known exploitationFix available

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

Vendor advisory: GHSA-g73c-fw68-pwx3

Record last updated

CVSS score

9.9

Critical on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

None

No EPSS score available

CISA remediation deadline

None

Not in the KEV catalog

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.

Weakness: CWE-94

Patching and mitigation

Patch status
Fix available (source: GitHub Advisory Database)
Fix documented (source date)
Mitigation
None documented
Vendor guidance
github.com (opens in a new tab)

Affected products

VendorProductAffected versionsFixed inPer
pgadmin.orgpgAdmin 4all versions before 9.29.2CVE Program
pippgadmin4all versions before 9.29.2GitHub Advisory Database

Timeline

  1. Disclosure

    CVE record published by PostgreSQL

    Source: CVE Program (opens in a new tab)

  2. Patch

    Fix documented by GitHub Advisory Database

    Source: GitHub Advisory Database (opens in a new tab)

Vendor guidance and references