CWE
78
Advisory Published
Updated

GHSA-ghp8-52vx-77j4: OS Command Injection

First published: Fri Sep 22 2023(Updated: )

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.

Affected SoftwareAffected VersionHow to fix
pip/pgadmin4<7.7
7.7

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the vulnerability ID?

    The vulnerability ID is GHSA-ghp8-52vx-77j4.

  • What is the severity of GHSA-ghp8-52vx-77j4?

    The severity of GHSA-ghp8-52vx-77j4 is medium.

  • What is the affected software?

    The affected software is pgAdmin version 7.7 and earlier.

  • How does the vulnerability occur?

    The vulnerability occurs when the pgAdmin server HTTP API validates the path a user selects to external PostgreSQL utilities such as pg_dump and pg_restore.

  • Are there any references for this vulnerability?

    Yes, you can find the references for this vulnerability at the following links: [NVD](https://nvd.nist.gov/vuln/detail/CVE-2023-5002), [GitHub](https://github.com/pgadmin-org/pgadmin4/issues/6763), [Bugzilla](https://bugzilla.redhat.com/show_bug.cgi?id=2239164).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203