Vulnerabilities · 2023 · Pgadmin
CVE-2023-5002
Pgadmin 4 vulnerability
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
Pgadmin 4, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Pgadmin 4 runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/pgadmin-org/pgadmin4/issues/6763 · Patch
- bugzilla.redhat.com/show_bug.cgi?id=2239164 · Third Party Advisory
- lists.fedoraproject.org/archives/list/[email protected]/message/2S2
- lists.fedoraproject.org/archives/list/[email protected]/message/VIR
- nvd.nist.gov/vuln/detail/CVE-2023-5002
- github.com/pgadmin-org/pgadmin4/commit/35f05e49b3632a0a674b9b36535a7fe2d93dd0c2
- lists.fedoraproject.org/archives/list/[email protected]/message/2S2
- lists.fedoraproject.org/archives/list/[email protected]/message/VIR
- nvd.nist.gov/vuln/detail/CVE-2023-5002
- cve.org/CVERecord?id=CVE-2023-5002
More vulnerabilities in Pgadmin products
CVE-2025-13780CVE-2025-12765CVE-2025-12764CVE-2025-12763CVE-2025-12762CVE-2025-9636CVE-2025-2946CVE-2025-2945All 21
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.