CVE-2023-5002
Medium
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.
SeverityMedium
CVSS6.0
Exploit probability—
Product
Pgadmin 4
PublishedSep 22, 2023
First seenSep 22, 2023
Weakness typeCWE-78OS command injection
How to fix
Update
- pgadmin pgadmin_47.7 or later
- pgadmin47.7 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pgadmin pgadmin_4 | v < 7.7 | 7.7 |
| fedoraproject fedora | 37, 38 | — |
| pgadmin4PyPI | v < 7.7 | 7.7 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.