ADVISORIES

PyPA Advisory Database

PYSEC-2026-1776

pgAdmin 4 has command injection vulnerability on Windows systems

Details

pgAdmin 4 versions up to 9.9 are affected by a command injection vulnerability on Windows systems. This issue is caused by the use of shell=True during backup and restore operations, enabling attackers to execute arbitrary system commands by providing specially crafted file path input.

Affected packages

EcosystemPackageAffected versions
PyPIpgadmin4
All versions before 9.10 (fixed in 9.10)

References