CVE-2025-2945 CRITICAL

CVE-2025-2945: pgAdmin 4: Remote Code Execution in Query Tool and Cloud Deployment

Vendor Pgadmin.org
Product pgAdmin 4
Published April 3, 2025
Last update February 26, 2026

CVSS base score

9.9/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

April 3, 2025 CVE published
February 26, 2026 Record updated