pgAdmin 4 up to 9.1 Cloud Deployment download eval query_commited code injection

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
9.0$0-$5k0.00

Summaryinfo

A vulnerability marked as very critical has been reported in pgAdmin 4 up to 9.1. This issue affects the function eval of the file /sqleditor/query_tool/download of the component Cloud Deployment Module. Performing a manipulation of the argument query_commited results in Remote Privilege Escalation. This vulnerability was named CVE-2025-2945. The attack may be initiated remotely. There is no available exploit. It is suggested to upgrade the affected component.

Detailsinfo

A vulnerability was found in pgAdmin 4 up to 9.1. It has been classified as very critical. This affects the function eval of the file /sqleditor/query_tool/download of the component Cloud Deployment Module. The manipulation of the argument query_commited with an unknown input leads to a remote privilege escalation vulnerability. CWE is classifying the issue as CWE-94. The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:

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.

The advisory is shared at github.com. This vulnerability is uniquely identified as CVE-2025-2945 since 03/29/2025. The exploitability is told to be easy. It is possible to initiate the attack remotely. Technical details are known, but no exploit is available. The price for an exploit might be around USD $0-$5k at the moment (estimation calculated on 11/11/2025). MITRE ATT&CK project uses the attack technique T1059 for this issue.

The vulnerability scanner Nessus provides a plugin with the ID 234350 (pgAdmin < 9.2 Multiple Vulnerabilities), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 9.2 eliminates this vulnerability.

The vulnerability is also documented in the databases at Tenable (234350) and CERT Bund (WID-SEC-2025-0708). Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Affected

  • Fedora Linux
  • SUSE openSUSE
  • Open Source pgAdmin

Productinfo

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 9.2
VulDB Meta Temp Score: 9.0

VulDB Base Score: 8.8
VulDB Temp Score: 8.4
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 8.8
NVD Vector: 🔍

CNA Base Score: 9.9
CNA Vector (PostgreSQL): 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Code injection
CWE: CWE-94 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 234350
Nessus Name: pgAdmin < 9.2 Multiple Vulnerabilities

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: pgAdmin 4 9.2

Timelineinfo

03/29/2025 🔍
04/03/2025 +4 days 🔍
04/03/2025 +0 days 🔍
11/11/2025 +222 days 🔍

Sourcesinfo

Advisory: github.com
Status: Confirmed

CVE: CVE-2025-2945 (🔍)
GCVE (CVE): GCVE-0-2025-2945
GCVE (VulDB): GCVE-100-303153
CERT Bund: WID-SEC-2025-0708 - pgAdmin: Mehrere Schwachstellen

Entryinfo

Created: 04/03/2025 14:51
Updated: 11/11/2025 20:10
Changes: 04/03/2025 14:51 (64), 04/16/2025 00:17 (2), 09/17/2025 20:56 (14), 11/11/2025 20:10 (6)
Complete: 🔍
Cache ID: 216:342:103

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!