Skip to main content
CVE-2025-12762VulnerabilityPublished Updated

CVE-2025-12762: pgAdmin 4 · Code Injection

Affects pgAdmin 4Source CVE Database V5

0

Not known to be exploited · 12% EPSS · CVSS 9.1 Critical.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 3.1 base score
9.1Critical
How severe the flaw is on the 0–10 CVSS scale.
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:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Nov 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
pgadmin.org pgAdmin 4Affected
  • =0
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.

References

Community reviews

Loading reviews…