MEDIUM 6.0 PyPI

pgAdmin failed to properly control the server code

GHSA-ghp8-52vx-77j4 · CVE-2023-5002 · PYSEC-2026-1774

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes