CVE-2026-17349
pgAdmin 4: Adhoc server clone leaks another user's stored database credentials and ownership to a non-owner
Mitigation
- Upgrade pgAdmin 4 to 9.17 or later.
Who should check
- Anyone running pgadmin.org pgAdmin 4 >= 9.0, < 9.17
Vulnerability facts
- Affected
- pgadmin.org pgAdmin 4 >= 9.0, < 9.17
- Fixed in
- pgadmin.org pgAdmin 4 9.17
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 9.3 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: None
- Privileges required: Low
- User interaction: None
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: None
- Confidentiality impact on other systems: High
- Integrity impact on other systems: High
- Availability impact on other systems: None
- EPSS
- 0.40% chance of exploitation in 30 days (percentile 25, 2026-11-26)
- CWE
- CWE-639, CWE-522
- Modified
Description
/misc/workspace/adhoc_connect_server, part of the Workspaces feature introduced in pgAdmin 4 9.0, when passed the id of an existing server, clones that server via Server.clone(), which copies every column from the source row, including user_id, shared, shared_username, and the stored credential fields password, save_password, and tunnel_password. When a non-owner triggered an adhoc connect against another user's (in practice, typically an administrator's) shared server, the clone inherited that user's ownership, shared flag, and stored database credentials verbatim. pgAdmin persisted this cross-tenant, credential-bearing server row before the connection was even attempted, so it survived even when the connection subsequently failed. The non-owner could then open the newly-owned clone and pgAdmin would connect using the source user's stored database password on the non-owner's behalf, granting the non-owner use of database credentials -- and whatever database privileges they confer -- that were never their own. Fix forces the cloned adhoc record's ownership fields (user_id, shared, shared_username) and stored credential fields (password, save_password, tunnel_password) to belong to the calling user and be cleared/private before committing, regardless of the source server's ownership, sharing state, or stored credentials. A regression test asserts that an adhoc connect triggered by a non-owner against another user's shared server persists a row owned by the caller, not shared, and without the source's stored credentials. This issue affects pgAdmin 4: from 9.0 before 9.17.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| pgadmin.org pgAdmin 4 | >= 9.0, < 9.17 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-17349. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-17349.md Affected: pgadmin.org pgAdmin 4 >= 9.0, < 9.17 Fixed in: pgadmin.org pgAdmin 4 9.17 Steps: 1. Search this machine and project for pgadmin.org pgAdmin 4: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2026-17349 being exploited?
There is no confirmed exploitation: CVE-2026-17349 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.40% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-17349?
Critical: CVSS 9.3 (v4.0, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2026-17349?
pgadmin.org pgAdmin 4 >= 9.0, < 9.17.
Is there a fix for CVE-2026-17349?
Yes. Fixed in pgadmin.org pgAdmin 4 9.17. Upgrade pgAdmin 4 to 9.17 or later.
How do I check if I'm affected by CVE-2026-17349?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.