pgAdmin4 vulnerable to Remote Code Execution (RCE) when running in server mode
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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | pgadmin4 | < 9.10 | 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
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L- Weakness (CWE)
CWE-94- Platform
- Python (PyPI)
- Package
pgadmin4- Disclosed
- 13.11.2025
- Updated
- 11.10.2026 12:20
Sources and licenses
OSV / GitHub Advisory Database - GHSA-w2p4-p4rh-qcm3 - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2026-454 - PyPA Advisory Database; CC BY 4.0
Vulnerability history: pgadmin4
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 28
- First → latest
- 03.2022 05.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 6
- High 14
- Medium 8
Disclosures per year
- 2022: 2
- 2023: 3
- 2024: 5
- 2025: 9
- 2026: 9
-
pgAdmin4 vulnerable to Remote Code Execution (RCE) when running in server mode this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.