~ / search / GHSA-ghp8-52vx-77j4

GHSA-ghp8-52vx-77j4

pgAdmin failed to properly control the server code

Source: GitHub Advisory Database (reviewed) Moderate CVE-2023-5002

Packages

EcosystemPackageAffectedFixed in
PyPI pgadmin4 < 7.7 7.7

Details

As written in the advisory (Markdown source, shown as plain text).

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.7 failed to properly control the server code executed on this API, allowing an authenticated user to run arbitrary commands on the server.

References

External links from the advisory. They lead to third-party sites.