CVE-2025-12762
JSON

9.1critical

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

Severity
9.1critical CVSS:3.1 by PostgreSQL
Exploit likelihood
12.7% (higher than 96% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
PostgreSQL
Also known as
GHSA-w2p4-p4rh-qcm3PYSEC-2026-454

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.

Affected

Product or packageVersionsReported by
pgadmin.org pgAdmin 4up to 9.9CVE List
pgadmin4 (PyPI)before 9.10GitHub Advisory Database, PyPA Advisory Database
pgadmin pgadmin_4before 9.10NVD

All scores

PostgreSQL9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L
GitHub9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
PyPA Advisory Database9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L

Classification

CWE-94

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Las versiones de pgAdmin hasta la 9.9 están afectadas por una vulnerabilidad de ejecución remota de código (RCE) que ocurre al ejecutarse en modo de servidor y al realizar restauraciones desde archivos de volcado en formato PLAIN. Este problema permite a los atacantes inyectar y ejecutar comandos arbitrarios en el servidor que aloja pgAdmin, lo que representa un riesgo crítico para la integridad y seguridad del sistema de gestión de base de datos y los datos subyacentes.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-12762 changed 2026-02-26CVE Terms of Use
GitHub Advisory DatabaseGHSA-w2p4-p4rh-qcm3 changed 2026-11-16CC-BY-4.0
NVDCVE-2025-12762 changed 2026-10-18Public domain
PyPA Advisory DatabasePYSEC-2026-454 changed 2026-07-01CC-BY-4.0