#VU107018 Code Injection in pgAdmin - CVE-2025-2945

 

#VU107018 Code Injection in pgAdmin - CVE-2025-2945

Published: April 5, 2025 / Updated: February 6, 2026


Vulnerability identifier: #VU107018
Vulnerability risk: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:A/U:Green
CVE-ID: CVE-2025-2945
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild
Vulnerable software:
pgAdmin
Software vendor:
PlanGenius Admin

Description

The vulnerability allows a remote user to execute arbitrary Python code on the system.

The vulnerability exists due to usage of en insecure eval() expression within the in the Query Tool and Cloud Deployment features in web/pgadmin/tools/sqleditor/__init__.py and web/pgacloud/providers/google.py file. A remote user can send a specially crafted HTTP POST request and execute arbitrary Python code on the server.


Remediation

Install updates from vendor's website.

External links