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

- Severity: Critical 9.1 (CVSS:3.1, scored by PostgreSQL) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.98%, higher than 63% of CVEs (2026-12-01)
- Published: 2025-12-11T18:30:47.812Z
- Modified: 2026-11-16T15:45:09.428Z
- Also known as: GHSA-fxmw-jcgr-w44v, PYSEC-2026-450
- Weaknesses: CWE-77, CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: PostgreSQL

## Description

pgAdmin versions up to 9.10 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.

(As written by CVE List.)

## Affected

- pgadmin.org pgAdmin 4: up to 9.10
- pgadmin4 (PyPI): before 9.11
- pgadmin pgadmin_4: up to 9.10

## Every score

- PostgreSQL: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L`
- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L`

## References

- <https://github.com/pgadmin-org/pgadmin4/issues/9368> (issue-tracking, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-13780> (advisory)
- <https://github.com/pgadmin-org/pgadmin4/pull/9426> (web)
- <https://github.com/pgadmin-org/pgadmin4/commit/1d397395f75320ca1d4ed5e9ca721c603415e836> (web)
- <https://github.com/pgadmin-org/pgadmin4/commit/d5a909f14cb9713d89b49481ad1929fad89f4576> (web)
- <https://github.com/pgadmin-org/pgadmin4> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/pgadmin4/PYSEC-2026-450.yaml> (web)
- <https://pypi.org/project/pgadmin4> (package, web)
- <https://github.com/advisories/GHSA-fxmw-jcgr-w44v> (advisory)

## Sources

- CVE List: [CVE-2025-13780](https://www.cve.org/CVERecord?id=CVE-2025-13780), CVE Terms of Use, modified 2026-11-03
- GitHub Advisory Database: [GHSA-fxmw-jcgr-w44v](https://github.com/advisories/GHSA-fxmw-jcgr-w44v), CC-BY-4.0, modified 2026-11-16
- NVD: [CVE-2025-13780](https://nvd.nist.gov/vuln/detail/CVE-2025-13780), Public domain, modified 2026-10-07
- PyPA Advisory Database: [PYSEC-2026-450](https://osv.dev/vulnerability/PYSEC-2026-450), CC-BY-4.0, modified 2026-07-01

---

Page: https://cve.day/CVE-2025-13780 · Whole record: https://cve.day/CVE-2025-13780.json · Rebuilt by cve.day 2026-11-25T22:59:09.248Z
