Advisory

GHSA-ghp8-52vx-77j4

Also known as: CVE-2023-5002, PYSEC-2026-1774

Summary

pgAdmin failed to properly control the server code

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-09-22 15:30 UTC
Modified
2026-07-07 17:57 UTC

Affected packages and fixes

pgadmin4

PyPI · All systems

Affected

  • introduced 0, fixed 7.7 (ecosystem)

Fixed versions

7.7

Fix

  • Fixed version 7.7
    pip install --upgrade pgadmin4==7.7

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences