Remote Code Execution vulnerability when restoring PLAIN-format SQL dumps in server mode (pgAdmin 4)
CVE-2025-12762Published 13 Nov 2025, 13:00 UTC
Real-world risk
4.3/ 10Medium
Schedule in the normal cycle
PreliminaryFrom the CVSS vector only · confidence low
CVSS
9.1
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from PostgreSQL)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| pgAdmin 4Common | <= 9.9 | — |
What to do
Check the vendor advisory in the references below for fixed versions and workarounds.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data exposureReads secrets, credentials, databases, arbitrary files | From the CVSS vector | 0.80 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 0.60 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T2: Likely to be exploited (× 0.90)
EPSS probability at least 0.10, or EPSS percentile at least 0.95
EPSS 13.6% chance of exploitation in 30 days (percentile 97), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.600
- Threat T2: Likely to be exploited0.900
- 10 × impact 0.8 × prerequisites 0.6 × threat 0.94.320
- Rounded to one decimal between 0.1 and 104.3
Exploitation and evidence timeline
- 13 Nov 2025 Published
- 3 Dec 2026 Risk 4.3 (cvss fallback)
Weakness
CWE-94