CVE-2025-2945
pgAdmin 4: Remote Code Execution in Query Tool and Cloud Deployment
- Published
- Apr 3, 2025
- Updated
- Feb 26, 2026
- Assigning CNA
- PostgreSQL
- Evidence observed
- Aug 8, 2026
pgAdmin 4: Remote Code Execution in Query Tool and Cloud Deployment
nvd · CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HHigh · next 30 days
EPSS is a statistical estimate, not a certainty or a measure of impact. Combine it with CVSS, KEV status, exposure and your environment.
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.
pgadmin/CVE-2025-2945
pgAdmin4 <= 9.1 Authenticated Remote Code Execution (CVE-2025-2945)
modules/exploits/multi/http/pgadmin_query_tool_authenticated.rb
pgAdmin Proof of Concept
Exploit for pgAdmin4 Remote Code Execution (RCE) vulnerability affecting versions 8.10 to 9.1.
PoC for CVE-2025-2945 — pgAdmin 4 authenticated eval() injection RCE, CVSS 9.9
Authenticated RCE in pgAdmin 4 (8.10–9.1) via eval() injection in the Query Tool. This is an updated PoC with compatibility fixes for pgAdmin 9.x auth changes
Proof-of-concept exploit for authenticated remote code execution in pgAdmin4 (CVE-2025-2945) via SQL Editor abuse. Designed for authorized security testing and education.
Use vulnerability information only on systems you own or are authorized to test. Kitploit links to public research metadata and does not store exploit code or malicious payloads.
Python PoC script for pgAdmin4 Query Tool RCE (CVE-2025-2945)
Exploit and test stand for CVE-2025-2945