CVE-2026-17349
Last modified
CVE-2026-17349 is a critical-severity vulnerability rated 9.6/10 on the CVSS scale. /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. EPSS estimates a 0.30% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Pgadmin | Pgadmin 4 | >= 9.0, < 9.17 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-17349?
How severe is CVE-2026-17349?
How do I fix CVE-2026-17349?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-1732GitLab has remediated an issue in GitLab CE/EE affecting all…4.3
- CVE-2026-1733A vulnerability was identified in Zhong Bang CRMEB up to 5.6…4.3
- CVE-2026-1734A security flaw has been discovered in Zhong Bang CRMEB up t…5.5
- CVE-2026-17346The fix for CVE-2026-12044 in pgAdmin 4 9.16 hardened qtLite…8.8
- CVE-2026-17347The MASTER_PASSWORD_HOOK setting, introduced in pgAdmin 4 7.…8.8
- CVE-2026-17348In SERVER mode, pgAdmin 4 enforces authentication per route …6.9
- CVE-2026-1735A weakness has been identified in Yealink MeetingBar A30 133…4.3
- CVE-2026-17350The per-tool permission system (custom roles / role-based to…5.4
- CVE-2026-17351The fix for CVE-2026-12045 in pgAdmin 4 9.16 required the LL…9
- CVE-2026-1736A security vulnerability has been detected in Open5GS up to …5.5
- CVE-2026-1737A vulnerability was detected in Open5GS up to 2.7.6. The aff…5.5
- CVE-2026-1738A flaw has been found in Open5GS up to 2.7.6. The impacted e…5.5
Are you affected by CVE-2026-17349?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
