{"cve":"CVE-2023-5002","nvd":{"published":"2023-09-22T14:15:47.213","modified":"2026-06-17T06:47:19.070","status":"Modified","description":"A flaw was found in pgAdmin. This issue occurs when the pgAdmin server HTTP API validates the path a user selects to external PostgreSQL utilities such as pg_dump and pg_restore. Versions of pgAdmin prior to 7.6 failed to properly control the server code executed on this API, allowing an authenticated user to run arbitrary commands on the server.","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-78"],"references":["https://bugzilla.redhat.com/show_bug.cgi?id=2239164","https://github.com/pgadmin-org/pgadmin4/issues/6763","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2S24D3S2GVNGTDNE6SF2OQSOPU3H72UW/","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VIRTMQZEE6K7RD37ERZ2UFYFLEUXLQU3/","https://bugzilla.redhat.com/show_bug.cgi?id=2239164"],"products":["fedoraproject:fedora","pgadmin:pgadmin_4"],"source":"nvd","synced_at":"2026-10-19T21:39:34.467980132+00:00"},"epss":{"cve":"CVE-2023-5002","score":0.01784,"percentile":0.78294,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-ghp8-52vx-77j4","url":"https://osv.dev/vulnerability/GHSA-ghp8-52vx-77j4","summary":"pgAdmin failed to properly control the server code ","modified":"2026-07-07T17:57:34.697857769Z","packages":[{"ecosystem":"PyPI","name":"pgadmin4","purl":"pkg:pypi/pgadmin4","ranges":["<7.7"],"fixed":["7.7"]}]},{"id":"PYSEC-2026-1774","url":"https://osv.dev/vulnerability/PYSEC-2026-1774","summary":"pgAdmin failed to properly control the server code ","modified":"2026-07-07T17:48:01.050785397Z","packages":[{"ecosystem":"PyPI","name":"pgadmin4","purl":"pkg:pypi/pgadmin4","ranges":["<7.7"],"fixed":["7.7"]}]}],"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."]}