VDB
Sign up
MEDIUM6.0

PYSEC-2026-1774

pgAdmin failed to properly control the server code

Quick fix

PYSEC-2026-1774 — pgadmin4: upgrade to the fixed version with the command below.

pip install --upgrade 'pgadmin4>=7.7'

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/pgadmin4
Introduced in: 0Fixed in: 7.7
Fixpip install --upgrade 'pgadmin4>=7.7'

References