Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-17347: The MASTER_PASSWORD_HOOK setting, introduced in pgAdmin 4 7.2, lets an administrator configure an external com

40
This month
HIGH 7.5UPGRADE

CVE-2026-17347 is a high-severity flaw (CVSS 7.5) affecting pgadmin 4. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

The MASTER_PASSWORD_HOOK setting, introduced in pgAdmin 4 7.2, lets an administrator configure an external command that returns a per-user encryption key, with %u in the configured string replaced by the current user's name. The previous implementation substituted the username directly into the command string and executed the result with subprocess.Popen(..., shell=True). Because the username can originate from an external authentication source (

Why this priority

  • High severity

A fixed release or distro patch exists.

Risk facts

CVSS score7.5 (High)
Attack vectorNetwork (remote)
Attack complexityHigh
Privileges neededLow
User interactionNone
EPSS exploit chance0.7% (top 47%)
CISA exploited listNo
WeaknessCWE-78, CWE-88
Published2026-07-31
Last modified2026-10-23
Publisher (CNA): PostgreSQL · Vendor: pgadmin

Last updated 2026-10-23 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

pgadmin pgadmin 4 UPGRADE
Affected: >= 7.2 and < 9.17
Fixed in: 9.17
Safe to downgrade to: a release before 7.2
1. Check installed version
apt-cache policy pgadmin-4 || rpm -q pgadmin-4 || pgadmin-4 --version
2. UPGRADE to 9.17 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade pgadmin-4
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade pgadmin-4
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 7.2 (Debian / Ubuntu)
apt-cache madison pgadmin-4 sudo apt install pgadmin-4=<VERSION_BEFORE_7.2> sudo apt-mark hold pgadmin-4
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list pgadmin-4 sudo dnf downgrade pgadmin-4-<VERSION_BEFORE_7.2> sudo dnf versionlock add pgadmin-4
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.

Exact fixes by distribution

Fedora ELN · ntpd-rs · FIXED · 1.7.2-3.eln159 · FEDORA-2026-57e4a99310 · source
sudo dnf upgrade --advisory=FEDORA-2026-57e4a99310
Fedora 46 · moby-engine · FIXED · 29.9.2-2.fc46 · FEDORA-2026-4856be87b3 · source
sudo dnf upgrade --advisory=FEDORA-2026-4856be87b3

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-17347?

pgadmin 4: upgrade to 9.17. Exact commands for each OS are on this page.

Is CVE-2026-17347 being exploited?

CVE-2026-17347 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-17347 affect?

CVE-2026-17347 affects pgadmin 4. Severity is high (CVSS 7.5). The MASTER_PASSWORD_HOOK setting, introduced in pgAdmin 4 7.2, lets an administrator configure an external command that returns a per-user encryption key, with %u in the configured string replaced by the current user's name. The previous im

How urgent is CVE-2026-17347?

Priority 40/100. High severity

Related CVEs

References

← Back to latest CVEs