Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-17349— pgAdmin 4: Adhoc server clone leaks another user's stored database credentials and ownership to a non-owner

Quick assessment

Affected
pgadmin.org pgAdmin 4
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

pgAdmin是pgAdmin组织开源的一个用于开源数据库 PostgreSQL 的开源管理和开发平台。 pgAdmin存在安全漏洞,该漏洞源于adhoc_connect_server在克隆服务器时未正确重置所有权和凭据字段,可能导致非所有者继承并利用其他用户的数据库凭据,造成未授权访问。

CVSS 9.6 · Critical EPSS 0.40% · P31

Affected Version Matrix 1

VendorProduct Version RangeStatus
pgadmin.org pgAdmin 4 9.0< 9.17 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-17349

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
pgAdmin 4: Adhoc server clone leaks another user's stored database credentials and ownership to a non-owner
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
通过用户控制密钥绕过授权机制
Source: CVE Program / CVE List V5
Vulnerability Title
pgAdmin 信任管理问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
pgAdmin是pgAdmin组织开源的一个用于开源数据库 PostgreSQL 的开源管理和开发平台。 pgAdmin存在安全漏洞,该漏洞源于adhoc_connect_server在克隆服务器时未正确重置所有权和凭据字段,可能导致非所有者继承并利用其他用户的数据库凭据,造成未授权访问。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
pgadmin.org pgAdmin 4 9.0 ~ 9.17 -

II. Public POCs for CVE-2026-17349

# POC Description Source Link Shenlong Link
AI-Generated POC Verified env Premium
Qwen3.6-35B-A3B · 18057 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-17349

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-17349 (2)

Vendor Advisories for CVE-2026-17349 (1)

Same Patch Batch · pgadmin.org · 2026-07-31 · 7 CVEs total

CVE-2026-17566 9.9 CRITICAL pgAdmin 4: RCE via backslash-escape mismatch in Import/Export Data query guard (incomplete
CVE-2026-17351 9.0 CRITICAL pgAdmin 4: AI Assistant read-only transaction bypass via sqlparse/PostgreSQL lexer disagre
CVE-2026-17346 8.8 HIGH pgAdmin 4: SQL injection via unescaped object names in index Statistics and publication/su
CVE-2026-17347 7.5 HIGH pgAdmin 4: OS command injection in MASTER_PASSWORD_HOOK via untrusted username substitutio
CVE-2026-17348 6.5 MEDIUM pgAdmin 4: Missing authentication decorator on Constraints, preferences, Debugger and Sche
CVE-2026-17350 5.4 MEDIUM pgAdmin 4: Tool permission bypass via backend routes and Socket.IO handlers

IV. Related Vulnerabilities

V. Comments for CVE-2026-17349

No comments yet


Leave a comment