Skip to content
Heist/ feed
Back to feed
High

Restore restriction bypass via key disclosure vulnerability (pgAdmin 4)

Type: advisorySources: OSV

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 `. This results in reliable command execution on the pgAdmin host during the restore operation.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-1707
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 13:55 UTC · Revision 1

Source evidence

Restore restriction bypass via key disclosure vulnerability (pgAdmin 4)

core-osv · Original source

Published 5 Feb 2026, 17:30 UTC

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 `. This results in reliable command execution on the pgAdmin host during the restore operation.

osv:CVE-2026-1707
Complete source record
{
  "id": "722dc880e64eb4d4d75ed9869f5f6659e5c5df299f2c8eb8701902c86a139c52",
  "url": "https://osv.dev/vulnerability/CVE-2026-1707",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Restore restriction bypass via key disclosure vulnerability (pgAdmin 4)",
    "summary": "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 `. This results in reliable command execution on the pgAdmin host during the restore operation.",
    "evidence": "osv:CVE-2026-1707",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-1707",
      "aliases": [
        "CVE-2026-1707",
        "GHSA-3p7x-94q9-jq9x",
        "PYSEC-2026-2864"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/pgadmin-org/pgadmin4",
              "type": "GIT",
              "events": [
                {
                  "introduced": "dc801e362ebde7fe59ecf77eaaab740fe7452cc5"
                },
                {
                  "last_affected": "dc801e362ebde7fe59ecf77eaaab740fe7452cc5"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "9.11"
                      },
                      {
                        "last_affected": "9.11"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "cpe": "cpe:2.3:a:pgadmin:pgadmin_4:9.11:*:*:*:*:postgresql:*:*",
                    "range": [
                      {
                        "introduced": "9.11"
                      },
                      {
                        "last_affected": "9.11"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "9.11",
            "REL-9_11"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-1707.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:36.097855018Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/1xxx/CVE-2026-1707.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-1707",
        "https://github.com/pgadmin-org/pgadmin4/issues/9518",
        "https://github.com/pgadmin-org/pgadmin4"
      ],
      "provider_metadata": {
        "cna_assigner": "PostgreSQL",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/1xxx/CVE-2026-1707.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-1707",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 503343,
  "published_at": "2026-02-05T17:30:05.089+00:00"
}