CVE-2026-1707: pgAdmin4 Restore Restriction Bypass via Key Disclosure Vulnerability

pgadmin4 Updated 06 Feb 2026

Summary

05/02/2026
Yes i
High
7.4

CVE-2026-1707: pgadmin4 affected by a Restore restriction bypass via key disclosure vulnerability. Affects pgadmin4 versions < 9.12. Fixed in 9.12. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

pgAdmin4 is a popular open-source administration and development platform for PostgreSQL, allowing users to manage database objects, execute SQL queries, and perform database backups and restores. The software is widely used for its user-friendly web interface and robust features. However, versions prior to 9.12 are vulnerable to a key disclosure issue that can lead to unauthorized command execution during restore operations.

Vulnerability Detail

The vulnerability arises in pgAdmin versions 9.11 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 and extract the '\restrict' key in real time. By racing the restore process, the attacker can overwrite the restore script with a payload that re-enables meta-commands using '\unrestrict <key>'. This allows for reliable command execution on the pgAdmin host during the restore operation, potentially compromising the integrity and security of the database.

How To Fix

Latest published version: 9.18.0 as of 22 Oct 2026

pip install --upgrade "pgadmin4==9.18.0"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

9.12

This is the first release that contains the fix.

pip install --upgrade "pgadmin4==9.12"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, restrict access to the pgAdmin web interface to trusted users only, and avoid performing restores from PLAIN-format dump files until the package is updated.

Conclusion

In summary, CVE-2026-1707 is a significant vulnerability in pgAdmin4 that allows for a restore restriction bypass via key disclosure. Users are strongly advised to update to version 9.12 or later to mitigate this risk. Until then, implementing access restrictions and avoiding certain restore methods can help protect against potential exploitation.

See every vulnerability recorded for pgadmin4 →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 7.4, indicating a high severity level.

pgAdmin versions prior to 9.12 are affected by this vulnerability.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.

If you cannot update immediately, restrict access to the pgAdmin web interface and avoid using PLAIN-format dump files for restores.

Related vulnerabilities

Recent vulnerabilities recorded for pgadmin4.

How To Fix

Latest published version: 9.18.0 as of 22 Oct 2026

pip install --upgrade "pgadmin4==9.18.0"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

9.12

This is the first release that contains the fix.

pip install --upgrade "pgadmin4==9.12"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback