GitHub Advisoryadvisory · PyPI

GHSA-ghp8-52vx-77j4 pgAdmin failed to properly control the server code

MEDIUM Published 2023-09-22 Modified 2025-03-17 Official page ↗
Aliases
CVE-2023-5002
Ecosystem
PyPI
Packages
pgadmin4
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:H/A:H
Weaknesses
CWE-78
Reviewed
2023-09-22

Affected packages

• PyPI pgadmin4: < 7.7 → fixed in 7.7

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

Related

Alias · CVE (1)

Weakness · CWE (1)

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness

References