CVE-2025-12762 | Remote Code Execution vulnerability when restoring PLAIN-format SQL dumps in server mode (pgAdmin 4)

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: 2025-11-13 Last update: 2025-12-01 Assigner: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 Source: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007

Conclusion & alert: CVE-2025-12762 is rated Moderate Risk (49.9/100): CVSS Critical severity, with low exploitation likelihood (EPSS 0.17%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2025-12762

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-05-25 0.13% 0.17% +0.04%
2 2026-05-22 0.17% 0.13% -0.04%
3 2026-04-23 0.17%

Full EPSS history (9 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2025-12762

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
9.1 3.1 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:L)
Might cause slowdowns, glitches, or partial disruption—not a full brick.
3.1 5.3 f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
9.8 3.1 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 5.9 [email protected]

Weakness enumeration for CVE-2025-12762

GitHub Security Advisory for CVE-2025-12762

GHSA-w2p4-p4rh-qcm3 · Severity: critical · Ecosystem: pip — pgAdmin4 vulnerable to Remote Code Execution (RCE) when running in server mode

OS Trackers for CVE-2025-12762

vendor priority summary link
suse critical CVE-2025-12762 severity critical: SUSE including 13 source package names (pgadmin4, pgadmin4-9.11-1.1, …), 67 product×package rows across 21 product lines (SLES-LTSS-TERADATA 15 SP2, SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS, … (21 product lines)): Known Not Affected 61, Fixed 6. https://www.suse.com/security/cve/CVE-2025-12762/

Affected software / configurations for CVE-2025-12762

Vendor Product Version Raw CPE
pgadmin pgadmin_4 < 9.10 cpe:2.3:a:pgadmin:pgadmin_4:*:*:*:*:*:postgresql:*:*

References for CVE-2025-12762

URL Tags
https://github.com/pgadmin-org/pgadmin4/issues/9320 Issue Tracking Vendor Advisory
cvelogic Threat Intelligence