CVE-2025-12762
CRITICAL 9.8CVSS 3.1pgAdmin4 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.
- Published
- 13 Nov 2025
- Last modified
- 16 Nov 2026
- Assigned by
- f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
- NVD status
- Modified
- Weakness
- CWE-94
- Also known as
- GHSA-w2p4-p4rh-qcm3PYSEC-2026-454
- Sources
- NVDJSONOSV GHSA-w2p4-p4rh-qcm3JSONOSV PYSEC-2026-454JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 (Secondary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L |
| OSV | PyPA | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | pgadmin | pgadmin_4cpe:2.3:a:pgadmin:pgadmin_4:*:*:*:*:*:postgresql:*:* |
< 9.10 | 9.10 |
| OSV | PyPI | pgadmin4 | < 9.10 | 9.10 |
References
- https://github.com/pgadmin-org/pgadmin4/issues/9320 · Issue Tracking, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-12762 · ADVISORY
- https://github.com/pgadmin-org/pgadmin4/commit/1d397395f75320ca1d4ed5e9ca721c603415e836 · WEB
- https://github.com/pgadmin-org/pgadmin4 · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/pgadmin4/PYSEC-2026-454.yaml · WEB
- https://pypi.org/project/pgadmin4 · WEB, PACKAGE
- https://github.com/advisories/GHSA-w2p4-p4rh-qcm3 · ADVISORY
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 13 Nov 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jun 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Nov 2025)