CVE-2023-5002Pgadmin 4
High 8.8
Follow: this CVE · Pgadmin · Pgadmin 4 We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.1
- 8.8
- EPSS
- 2.0% probability of exploitation in 30 days · percentile 82
- Auth required
- Yes
- Published
- Sep 22, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-78
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Pgadmin 4.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | pgadmin4 |
< 7.7 |
7.7 |
pip install "pgadmin4>=7.7" |
| PyPI | pgadmin4 |
< 7.7 |
7.7 |
pip install "pgadmin4>=7.7" |
Per OSV / GitHub Advisories (GHSA-ghp8-52vx-77j4, PYSEC-2026-1774). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| pgadmin | pgadmin_4 | < 7.7 |
| fedoraproject | fedora | 37 |
| fedoraproject | fedora | 38 |
Official sources
References
Links published by the sources. Open them with care.
- bugzilla.redhat.com Issue Tracking Third Party Advisory
- github.com Issue Tracking Patch
- lists.fedoraproject.org Mailing List
- lists.fedoraproject.org Mailing List