# CVE-2026-1707: Restore restriction bypass via key disclosure vulnerability (pgAdmin 4)

- Severity: High 7.4 (CVSS:3.1, scored by PostgreSQL) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/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.44%, higher than 39% of CVEs (2026-12-02)
- Published: 2026-02-05T17:30:05.089Z
- Modified: 2026-07-13T16:43:18.792Z
- Also known as: GHSA-3p7x-94q9-jq9x, PYSEC-2026-2864
- Weaknesses: CWE-284, CWE-639
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: PostgreSQL

## Description

pgAdmin versions 9.11 are affected by a Restore restriction bypass via key disclosure vulnerability that occurs when running in server mode and performing restores from PLAIN-format dump files. An attacker with access to the pgAdmin web interface can observe an active restore operation, extract the `\restrict` key in real time, and race the restore process by overwriting the restore script with a payload that re-enables meta-commands using `\unrestrict <key>`. This results in reliable command execution on the pgAdmin host during the restore operation.

(As written by CVE List.)

## Affected

- pgadmin.org pgAdmin 4: 9.11
- pgadmin4 (PyPI): before 9.12
- pgadmin pgadmin_4: 9.11

## Every score

- PostgreSQL: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L`
- GitHub: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L`
- NVD: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- PyPA Advisory Database: CVSS:3.1 7.4 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L`

## References

- <https://github.com/pgadmin-org/pgadmin4/issues/9518> (issue-tracking, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-1707> (advisory)
- <https://github.com/pgadmin-org/pgadmin4/commit/62e2d18b0261f88086db65059a6078db07169f18> (web)
- <https://github.com/pgadmin-org/pgadmin4> (package)
- <https://pypi.org/project/pgadmin4> (package)
- <https://github.com/advisories/GHSA-3p7x-94q9-jq9x> (advisory)

## Sources

- CVE List: [CVE-2026-1707](https://www.cve.org/CVERecord?id=CVE-2026-1707), CVE Terms of Use, modified 2026-02-26
- GitHub Advisory Database: [GHSA-3p7x-94q9-jq9x](https://github.com/advisories/GHSA-3p7x-94q9-jq9x), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-1707](https://nvd.nist.gov/vuln/detail/CVE-2026-1707), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-2864](https://osv.dev/vulnerability/PYSEC-2026-2864), CC-BY-4.0, modified 2026-07-13

---

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