Skip to content
OpenAdvisories
Medium · 6.0 CVE-2023-5002 EUVD-2023-2508GHSA-ghp8-52vx-77j4PYSEC-2026-1774

Pgadmin4: remote code execution by an authenticated user

Published Sep 22, 2023 · Updated Aug 2, 2024 · Assigned by fedora

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.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

VendorProductAffectedFixed
— pgadmin4 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed pgadmin4 7.8-1.1 openSUSE-SU-2024:13379-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI pgadmin4 < 7.7 7.7 GHSA-ghp8-52vx-77j4

Advisories 2

References