Read the docs
TI-2023-04604 Aliases CVE-2023-5002GHSA-ghp8-52vx-77j4

Pgadmin4: remote code execution by an authenticated user

Priority MEDIUM 44CWE-78Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-78.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01784 78th percentileScored 2026-11-07
Fix Fixed pgadmin4: 7.7pgadmin4 (PyPI): 7.7

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
—pgadmin4—7.7Patch availableCNA
—pgadmin4 (PyPI)before 7.77.7Patch availableGHSA-ghp8-52vx-77j4
  • pgadmin4 Vendor— Affected — Fixed in 7.7 Patch available CNA
  • pgadmin4 (PyPI) Vendor— Affected before 7.7 Fixed in 7.7 Patch available GHSA-ghp8-52vx-77j4

CPE configurations NVD · 3

CPEVersionsRoleVendor
cpe:2.3:a:pgadmin:pgadmin_4:*:*:*:*:*:postgresql:*:*before 7.7Vulnerablepgadmin.org
cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*37VulnerableFedoraproject
cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*38VulnerableFedoraproject
  • cpe:2.3:a:pgadmin:pgadmin_4:*:*:*:*:*:postgresql:*:* Versions before 7.7 Vulnerable ·pgadmin.org
  • cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* Versions 37 Vulnerable ·Fedoraproject
  • cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* Versions 38 Vulnerable ·Fedoraproject

Remediation

  • Fix · CNA pgadmin4 Fixed in 7.7
  • Fix · GHSA-ghp8-52vx-77j4 pgadmin4 (PyPI) Fixed in 7.7 Advisory →

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-5002
  2. 2026-10-03 Alias added: GHSA-ghp8-52vx-77j4

References

Sources