pgAdmin Query Tool authenticated RCE (CVE-2025-2945)
Title source: metasploitExploitation Summary
EIP tracks 7 public exploits for CVE-2025-2945.
PoCs published by Cycloctane, abrewer251, ExtremeUday, including Metasploit module exploits/multi/http/pgadmin_query_tool_authenticated.
AI-analyzed exploit summary This is a Python-based exploit for CVE-2025-2945, an authenticated RCE vulnerability in pgAdmin4 versions 8.10 to 9.1. It leverages the query tool functionality to execute arbitrary Python code on the target system.
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.
Exploits (7)
This is a Python-based exploit for CVE-2025-2945, an authenticated RCE vulnerability in pgAdmin4 versions 8.10 to 9.1. It leverages the query tool functionality to execute arbitrary Python code on the target system.
This repository contains a Python-based proof-of-concept exploit for CVE-2025-2945, a critical remote code execution vulnerability in pgAdmin 4 versions 8.10 through 9.1. The exploit authenticates to pgAdmin, initializes the Query Tool, and leverages an unsafe `eval()` call to achieve arbitrary code execution.
This repository contains a functional proof-of-concept exploit for CVE-2025-2945, an authenticated remote code execution vulnerability in pgAdmin4 versions 8.10 to 9.1. The exploit abuses the SQL Editor initialization flow to execute arbitrary commands via a reverse shell payload.
This repository contains a functional exploit for CVE-2025-2945, an authenticated RCE vulnerability in pgAdmin 4 versions 8.10 through 9.1. The exploit leverages an unsafe `eval()` call on the `query_commited` parameter in the `/sqleditor/query_tool/download/<trans_id>` endpoint, allowing arbitrary Python code execution.
This repository contains a working exploit for CVE-2025-2945, which leverages unsafe `eval()` usage in pgAdmin's `/sqleditor/query_tool/download` and `/cloud/deploy` endpoints to achieve remote code execution (RCE). The exploit authenticates to pgAdmin, identifies a valid server ID, and injects a payload via the `query_commited` parameter to execute arbitrary Python code.
This repository contains functional exploit code for CVE-2025-32433, an Erlang OTP SSH vulnerability, demonstrating pre-authentication remote command execution via crafted SSH packets. The PoC includes a Dockerized vulnerable environment and a Python script to trigger the exploit.
This Metasploit module exploits an authenticated RCE vulnerability in pgAdmin (CVE-2025-2945) by leveraging a Python eval() statement in the query_commited parameter. It requires valid pgAdmin and database credentials to initialize a session and obtain a transaction ID.
References (1)
Scores
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H