{"id":"CVE-2026-1707","aliases":["GHSA-3p7x-94q9-jq9x","PYSEC-2026-2864"],"title":"pgadmin4 affected by a Restore restriction bypass via key disclosure vulnerability","summary":"pgadmin4 affected by a Restore restriction bypass via key disclosure vulnerability","severity":"high","cvss":7.4,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L","vendor":"pgadmin4","product":"pgadmin4","ecosystem":"pip","affected":["pgadmin4 < 9.12"],"patched":["pgadmin4 9.12"],"published":"2026-02-05","updated":"2026-07-13","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-3p7x-94q9-jq9x","references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-1707"},{"url":"https://github.com/pgadmin-org/pgadmin4/issues/9518"},{"url":"https://github.com/pgadmin-org/pgadmin4/commit/62e2d18b0261f88086db65059a6078db07169f18"},{"url":"https://github.com/pgadmin-org/pgadmin4"}],"tags":["osv","pip"],"epss":0.00407,"epssPercentile":0.34675,"ingestedAt":"2026-07-13T18:57:52.018Z","slug":"CVE-2026-1707","body":"## Overview\n\npgAdmin 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.\n\n## Affected packages\n\n- `pgadmin4 < 9.12`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `pgadmin4 9.12`","depth":"twilight","depthScore":41,"depthScoreParts":{"impact":40.7,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}