Vulnerabilities · 2025 · Pgadmin
CVE-2025-2945
Pgadmin 4 vulnerability
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.
Affected products
Pgadmin 4. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Pgadmin 4 runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/pgadmin-org/pgadmin4/issues/8603 · Exploit
- nvd.nist.gov/vuln/detail/CVE-2025-2945
- github.com/pgadmin-org/pgadmin4/commit/75be0bc22d3d8d7620711835db817bd7c021007c
- github.com/advisories/GHSA-g73c-fw68-pwx3
- github.com/pypa/advisory-database/tree/main/vulns/pgadmin4/PYSEC-2026-451.yaml
- pypi.org/project/pgadmin4
- nvd.nist.gov/vuln/detail/CVE-2025-2945
- cve.org/CVERecord?id=CVE-2025-2945
More vulnerabilities in Pgadmin products
CVE-2025-13780CVE-2025-12765CVE-2025-12764CVE-2025-12763CVE-2025-12762CVE-2025-9636CVE-2025-2946CVE-2025-0218All 21
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.