Medium severity6.0OSV Advisory· Published Sep 22, 2023· Updated Jun 17, 2026
CVE-2023-5002
CVE-2023-5002
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
pgadmin4PyPI | < 7.7 | 7.7 |
Affected products
3- Range: REL-1_0, REL-1_0-BETA1, REL-1_0-BETA2, …
- ghsa-coords2 versions
< 7.7+ 1 more
- (no CPE)range: < 7.7
- (no CPE)range: < 7.8-1.1
Patches
Vulnerability mechanics
References
9- github.com/pgadmin-org/pgadmin4/issues/6763nvdIssue TrackingPatchWEB
- bugzilla.redhat.com/show_bug.cginvdIssue TrackingThird Party AdvisoryWEB
- github.com/advisories/GHSA-ghp8-52vx-77j4ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2023-5002ghsaADVISORY
- github.com/pgadmin-org/pgadmin4/commit/35f05e49b3632a0a674b9b36535a7fe2d93dd0c2ghsaWEB
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2S24D3S2GVNGTDNE6SF2OQSOPU3H72UWghsaWEB
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2S24D3S2GVNGTDNE6SF2OQSOPU3H72UW/nvdMailing List
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VIRTMQZEE6K7RD37ERZ2UFYFLEUXLQU3ghsaWEB
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VIRTMQZEE6K7RD37ERZ2UFYFLEUXLQU3/nvdMailing List
News mentions
0No linked articles in our index yet.