CVE-2026-17346: The fix for CVE-2026-12044 in pgAdmin 4 9.16 hardened qtLiteral and switched sixteen COMMENT ON / pgstattuple
43
This month
HIGH 8.8UPGRADE
CVE-2026-17346 is a high-severity flaw (CVSS 8.8) affecting pgadmin 4. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
The fix for CVE-2026-12044 in pgAdmin 4 9.16 hardened qtLiteral and switched sixteen COMMENT ON / pgstattuple / pgstatindex templates to it, but missed several sinks that had been placed in test_sql_string_literal_lint.py's ALLOWLIST on the incorrect assumption that schema, table, publication, and subscription names sourced from pg_catalog via the browser tree could never contain an apostrophe. PostgreSQL permits arbitrary characters in quoted id
Why this priority
- High severity
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.8 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.6% (top 51%) |
| CISA exploited list | No |
| Weakness | CWE-89 |
| Published | 2026-07-31 |
| Last modified | 2026-10-23 |
Publisher (CNA): PostgreSQL · Vendor: pgadmin
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
pgadmin pgadmin 4 UPGRADE
Affected: >= 1.0 and < 9.17
Fixed in: 9.17
Safe to downgrade to: a release before 1.0
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 1.0 (Debian / Ubuntu)
apt-cache madison pgadmin-4
sudo apt install pgadmin-4=<VERSION_BEFORE_1.0>
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_1.0>
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 46 · kwin-zones · FIXED · 1.0.13-1.fc46 · FEDORA-2026-95888f332b · source
sudo dnf upgrade --advisory=FEDORA-2026-95888f332b
Fedora ELN · nginx-mod-brotli · FIXED · 1.0.0~rc-16.eln159 · FEDORA-2026-501a6a8273 · source
sudo dnf upgrade --advisory=FEDORA-2026-501a6a8273
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.
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Related CVEs
- CVE-2026-17566 CRITICAL 9.9 UPGRADE pgAdmin 4's Import/Export Data tool builds a psql \copy (...) command line by interpolating a user-supplied SQ
- CVE-2026-17349 CRITICAL 9.6 UPGRADE /misc/workspace/adhoc_connect_server, part of the Workspaces feature introduced in pgAdmin 4 9.0, when passed
- CVE-2026-17351 CRITICAL 9.0 UPGRADE The fix for CVE-2026-12045 in pgAdmin 4 9.16 required the LLM-supplied query passed to the AI Assistant's exec
- CVE-2026-17347 HIGH 7.5 UPGRADE The MASTER_PASSWORD_HOOK setting, introduced in pgAdmin 4 7.2, lets an administrator configure an external com
- CVE-2026-17348 MEDIUM 6.5 UPGRADE In SERVER mode, pgAdmin 4 enforces authentication per route via the @pga_login_required decorator; the applica