CVE-2025-2945

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

HIGH
8.8
CVSS Score
Published: April 3, 2025 at 12:23 PM UTC
Updated: June 17, 2026 at 09:07 AM UTC
2 products affected across 2 vendorspgAdmin 4pgAdmin 4

Using pgAdmin 4 by pgadmin.org?

Get instant alerts when new vulnerabilities affect pgAdmin 4 - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.8
Exploit prediction
EPSS 56%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 9.2
Affected range stops below 9.2, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

References (1)

Issue TrackingExploit
Source: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
https://github.com/pgadmin-org/pgadmin4/issues/8603

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-94

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card