CVE-2025-12762: Remote Code Execution vulnerability when restoring PLAIN-format SQL dumps in server mode (pgAdmin 4)
Vulnerability summary
CVE-2025-12762 is a critical (CVSS 9.8) Improper Control of Generation of Code vulnerability in pgadmin pgadmin_4. EPSS estimates a 12.71% chance of exploitation in the next 30 days, higher than 96.2% of scored vulnerabilities.
Severe, CVSS 9.1 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 13% (FIRST, 03-11-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 13-11-2025PublishedVulnerability first disclosed.
- 26-02-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
3 scores · 3 sources · 1 version- CVE.orgCNA9.1CriticalCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:LDiffers
- OSV · PypiEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:LDiffers
EPSS trend
Probability
12.71%
Chance of exploitation in the next 30 days
Percentile
96%
Versus all other CVEs
30-day change
Increase +0.05 pp
From 12.66% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Pgadmin1 product
- pgadmin_4< 9.10
Pgadmin.org1 product
- pgadmin 4≤ 9.9
PyPI1 product
- pgadmin4< 9.10
3 vendors · 3 products
References
6 links- pypi.org/project/pgadmin4PACKAGE