{"id":"CVE-2023-5002","aliases":["GHSA-ghp8-52vx-77j4","PYSEC-2026-1774"],"url":"https://o3.security/vulnerability/CVE-2023-5002","summary":"Pgadmin4: remote code execution by an authenticated user","details":"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.","published":"2023-09-22T13:31:43.124Z","modified":"2026-08-07T11:31:30.095691730Z","cvss":{"score":6,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"pgadmin4","fixedVersion":"7.7"}],"fix":null,"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2S24D3S2GVNGTDNE6SF2OQSOPU3H72UW/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VIRTMQZEE6K7RD37ERZ2UFYFLEUXLQU3/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/5xxx/CVE-2023-5002.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-5002"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2239164"},{"type":"REPORT","url":"https://github.com/pgadmin-org/pgadmin4/issues/6763"},{"type":"PACKAGE","url":"https://github.com/pgadmin-org/pgadmin4"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-07T11:31:30.095691730Z"}}