What’s Vulnerable › Vulnerabilities

CVE-2023-5002: Pgadmin4: remote code execution by an authenticated user

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.

Affected products

How to fix

Upgrade to a fixed version: pgadmin.org pgAdmin 4 7.7. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-5002 or the next vulnerability affects your stack