PyPA Advisory Database
PYSEC-2026-454
pgAdmin4 vulnerable to Remote Code Execution (RCE) when running in server mode
Details
pgAdmin versions up to 9.9 are affected by a Remote Code Execution (RCE) vulnerability that occurs when running in server mode and performing restores from PLAIN-format dump files. This issue allows attackers to inject and execute arbitrary commands on the server hosting pgAdmin, posing a critical risk to the integrity and security of the database management system and underlying data.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | pgadmin4 | All versions before 9.10 (fixed in 9.10) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-12762
- https://github.com/pgadmin-org/pgadmin4/issues/9320
- https://github.com/pgadmin-org/pgadmin4/commit/1d397395f75320ca1d4ed5e9ca721c603415e836
- https://github.com/pgadmin-org/pgadmin4
- https://pypi.org/project/pgadmin4
- https://github.com/advisories/GHSA-w2p4-p4rh-qcm3