{"id":"CVE-2025-12762","aliases":["CVE-2025-12762","GHSA-w2p4-p4rh-qcm3","PYSEC-2026-454"],"related":[],"kind":"vulnerability","state":"published","title":"Remote Code Execution vulnerability when restoring PLAIN-format SQL dumps in server mode (pgAdmin 4)","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-11-13T13:00:02.005Z","modified":"2026-11-16T16:00:04.731Z","severity":{"scorer":"PostgreSQL","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"PostgreSQL","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L","score":9.1,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L","score":9.1,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L","score":9.1,"rating":"CRITICAL"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"type":"custom","introduced":"0","lastAffected":"9.9","status":"affected"}],"vendor":"pgadmin.org","product":"pgAdmin 4","repo":"https://github.com/pgadmin-org/pgadmin4","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"9.10"}],"ecosystem":"PyPI","package":"pgadmin4","purl":"pkg:pypi/pgadmin4","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"9.10"}],"vendor":"pgadmin","product":"pgadmin_4","cpe":"cpe:2.3:a:pgadmin:pgadmin_4:*:*:*:*:*:postgresql:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"9.10"}],"ecosystem":"PyPI","package":"pgadmin4","purl":"pkg:pypi/pgadmin4","source":"pysec"}],"references":[{"url":"https://github.com/pgadmin-org/pgadmin4/issues/9320","tags":["issue-tracking","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-12762","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/pgadmin-org/pgadmin4/commit/1d397395f75320ca1d4ed5e9ca721c603415e836","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/pgadmin-org/pgadmin4","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/pgadmin4/PYSEC-2026-454.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://pypi.org/project/pgadmin4","tags":["package","web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/advisories/GHSA-w2p4-p4rh-qcm3","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"PostgreSQL","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-11-14T04:55:28.348Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-12762","url":"https://www.cve.org/CVERecord?id=CVE-2025-12762","licence":"CVE Terms of Use","modified":"2026-02-26T16:57:07.296Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-w2p4-p4rh-qcm3","url":"https://github.com/advisories/GHSA-w2p4-p4rh-qcm3","licence":"CC-BY-4.0","modified":"2026-11-16T16:00:04.731Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-12762","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-12762","licence":"Public domain","modified":"2026-10-18T20:10:00.110Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-454","url":"https://osv.dev/vulnerability/PYSEC-2026-454","licence":"CC-BY-4.0","modified":"2026-07-01T20:22:59.909Z"}],"updatedAt":"2026-11-25T22:59:07.622Z","epss":{"score":0.12705,"percentile":0.96356,"date":"2026-12-01T12:00:22.000Z"}}