CVE-2025-12762: pgAdmin 4 · Code Injection
Affects pgAdmin 4Source CVE Database V5
Not known to be exploited · 12% EPSS · CVSS 9.1 Critical.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 12.7% chance of exploitation in 30 days – higher than 96% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:LExploitation evidence
Disclosed: evidence found.
CVE published 13 Nov 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| pgadmin.org pgAdmin 4 | Affected
| Fixed in– |
AI-suggested
1. Immediately restrict access to pgAdmin 4 server mode interfaces to trusted administrators only, using network segmentation and firewall rules. 2. Avoid performing restores from PLAIN-format dump files until a patch or official fix is released. 3. Monitor and audit pgAdmin server logs for unusual restore operations or command execution attempts. 4. Implement strict privilege separation; ensure that users with access to pgAdmin have minimal necessary permissions. 5. If possible, run pgAdmin 4 in desktop mode or isolated environments to reduce exposure. 6. Stay updated with pgAdmin.org announcements for patches or security advisories addressing CVE-2025-12762 and apply updates promptly. 7. Employ host-based intrusion detection systems (HIDS) to detect anomalous command executions on servers running pgAdmin. 8. Conduct regular backups and test restore procedures using secure dump formats other than PLAIN to minimize risk. 9. Educate administrators about the risks of restoring from untrusted dump files and enforce strict validation of backup sources.
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.