All reports
Critical

pgAdmin 4 Vulnerable to Remote Code Execution

Affected versions

Version ranges need review.

Affected versions
< 9.2
Fixed version
9.2
Affected versions
<9.2
Fixed version
9.2

Exploitation

CVE-2025-2945

Probability of exploitation in the next 30 days: 56.30%

FIRST EPSS · 2026-11-21

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.

Links