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.
Published: 2025-04-03
Score: 9.9 Critical
EPSS: 82.5% High
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-g73c-fw68-pwx3 pgAdmin 4 Vulnerable to Remote Code Execution
History

Wed, 17 Sep 2025 18:15:00 +0000

Type Values Removed Values Added
First Time appeared Pgadmin
Pgadmin pgadmin 4
CPEs cpe:2.3:a:pgadmin:pgadmin_4:*:*:*:*:*:postgresql:*:*
Vendors & Products Pgadmin
Pgadmin pgadmin 4

Thu, 03 Apr 2025 18:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-94

Thu, 03 Apr 2025 14:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 03 Apr 2025 12:30:00 +0000

Type Values Removed Values Added
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.
Title pgAdmin 4: Remote Code Execution in Query Tool and Cloud Deployment
References
Metrics cvssV3_1

{'score': 9.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}


Subscriptions

Pgadmin Pgadmin 4
cve-icon MITRE

Status: PUBLISHED

Assigner: PostgreSQL

Published:

Updated: 2026-02-26T18:28:58.124Z

Reserved: 2025-03-29T01:38:35.441Z

Link: CVE-2025-2945

cve-icon Vulnrichment

Updated: 2025-04-03T13:15:19.164Z

cve-icon NVD

Status : Analyzed

Published: 2025-04-03T13:15:43.240

Modified: 2025-09-17T18:04:10.100

Link: CVE-2025-2945

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses