Back
CVE-2023-5002
Pgadmin4: remote code execution by an authenticated user
Medium6.0EPSS 1.8%
- Published
- Updated
- Reserved
- Assigned by
- fedora
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| fedoraCNA (assigner) | 3.1 | Medium6.0 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:H/A:H |
| NVDNVD · Modified | 3.1 | High8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 1.8% · top 22% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.0.
Weakness
Affected products
pgadmin4
- unaffected 7.7 – < *
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIpgadmin4GHSA-ghp8-52vx-77j4 (opens in a new tab)
References (4)
- RHBZ#2239164 (opens in a new tab)issue-trackingx_refsource_REDHATx_transferred
- https://github.com/pgadmin-org/pgadmin4/issues/6763 (opens in a new tab)x_transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/2S24D3S2GVNGTDNE6SF2OQSOPU3H72UW/ (opens in a new tab)x_transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/VIRTMQZEE6K7RD37ERZ2UFYFLEUXLQU3/ (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-ghp8-52vx-77j4 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2023-5002)Record last updated .