GitHub Advisory Database
GHSA-rm79-x4g6-hvg5
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | pgadmin4 | All versions before 9.10 (fixed in 9.10) |