{"cve":"CVE-2025-2945","nvd":{"published":"2025-04-03T13:15:43.240","modified":"2026-06-17T09:07:53.883","status":"Analyzed","description":"Remote Code Execution security vulnerability in pgAdmin 4  (Query Tool and Cloud Deployment modules).\n\nThe 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.\n\n\nThis issue affects pgAdmin 4: before 9.2.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-94"],"references":["https://github.com/pgadmin-org/pgadmin4/issues/8603"],"products":["pgadmin:pgadmin_4"],"source":"nvd","synced_at":"2026-10-19T22:00:57.946988208+00:00"},"epss":{"cve":"CVE-2025-2945","score":0.563,"percentile":0.99053,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-g73c-fw68-pwx3","url":"https://osv.dev/vulnerability/GHSA-g73c-fw68-pwx3","summary":"pgAdmin 4 Vulnerable to Remote Code Execution","modified":"2026-06-29T12:26:49.916499139Z","packages":[{"ecosystem":"PyPI","name":"pgadmin4","purl":"pkg:pypi/pgadmin4","ranges":["<9.2"],"fixed":["9.2"]}]},{"id":"PYSEC-2026-451","url":"https://osv.dev/vulnerability/PYSEC-2026-451","summary":"pgAdmin 4 Vulnerable to Remote Code Execution","modified":"2026-07-01T20:22:59.879060Z","packages":[{"ecosystem":"PyPI","name":"pgadmin4","purl":"pkg:pypi/pgadmin4","ranges":["<9.2"],"fixed":["9.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}