目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1336

100%

CVE-2026-17346— pgAdmin SQL注入漏洞

一分钟漏洞结论

影响对象
pgadmin.org pgAdmin 4
利用判断
存在公开或 AI PoC,应优先验证
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

pgAdmin是pgAdmin组织开源的一个用于开源数据库 PostgreSQL 的开源管理和开发平台。 pgAdmin 9.17之前版本存在SQL注入漏洞,该漏洞源于在SQL模板中对对象名称未进行正确转义,可能导致任意SQL语句注入。

CVSS 8.8 · High EPSS 0.43% · P37

影响版本矩阵 2

厂商产品 版本范围状态
pgadmin.org pgAdmin 4 1.0< 9.17 affected
5.0< 9.17 affected
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-17346 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
pgAdmin 4: SQL injection via unescaped object names in index Statistics and publication/subscription dependency views (incomplete fix for CVE-2026-12044)
来源: CVE Program / CVE List V5
Vulnerability Description
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 identifiers, so a low-privileged user able to CREATE TABLE, CREATE PUBLICATION, or CREATE SUBSCRIPTION can plant an apostrophe'd object name that breaks out of the unescaped '{{ name }}' template interpolation the moment any user (including a higher-privileged one) opens that object's Statistics or Dependencies tab, allowing arbitrary SQL statement injection in the viewing user's database session. Affected sinks: the Index Statistics query for all-indexes listing (coll_stats.sql, both the 16_plus and default PostgreSQL-version template variants -- distinct from the single-index stats.sql path already fixed in CVE-2026-12044), and the publication and subscription dependencies.sql / get_position.sql templates (both the pg and ppas/EPAS dialect variants for publications). Fix switches all of these templates to qtLiteral(conn) for name interpolation, and updates publications/__init__.py and subscriptions/__init__.py to pass conn=self.conn into the dependencies.sql render_template call so the qtLiteral filter has a connection to quote against. The corresponding ALLOWLIST entries in test_sql_string_literal_lint.py are removed now that these sinks are properly escaped rather than merely assumed safe. A behavioral regression test renders each fixed template with a stacked-statement apostrophe payload and asserts both that the object name appears exactly as qtLiteral-escaped and that the rendered SQL parses as exactly one statement, verifying the assertion genuinely fails against the pre-patch raw-interpolation form. This issue affects pgAdmin 4: the Index Statistics sink from 1.0, and the Publications/Subscriptions sinks from 5.0, both before 9.17.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
来源: CVE Program / CVE List V5
Vulnerability Title
pgAdmin SQL注入漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
pgAdmin是pgAdmin组织开源的一个用于开源数据库 PostgreSQL 的开源管理和开发平台。 pgAdmin 9.17之前版本存在SQL注入漏洞,该漏洞源于在SQL模板中对对象名称未进行正确转义,可能导致任意SQL语句注入。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
pgadmin.org pgAdmin 4 1.0 ~ 9.17 -
pgadmin.org pgAdmin 4 5.0 ~ 9.17 -

二、漏洞 CVE-2026-17346 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级
Qwen3.6-35B-A3B · 5990 chars
Pro+ 专属包含:
漏洞复现靶场录像(真实沙箱构建 + 触发,独家)
漏洞原理深度分析
触发条件与影响面
完整可执行 POC 代码
利用链与缓解建议
POC 打包下载
每月 100+ 条 AI 生成额度

三、漏洞 CVE-2026-17346 的情报信息

登录查看更多情报信息。

CVE-2026-17346 补丁与修复 (2)

CVE-2026-17346 厂商安全公告 (1)

同批安全公告 · pgadmin.org · 2026-07-31 · 共 7 条

CVE-2026-17566 9.9 CRITICAL pgAdmin 输入验证错误漏洞
CVE-2026-17349 9.6 CRITICAL pgAdmin 信任管理问题漏洞
CVE-2026-17351 9.0 CRITICAL pgAdmin 输入验证错误漏洞
CVE-2026-17347 7.5 HIGH pgAdmin 命令注入漏洞
CVE-2026-17348 6.5 MEDIUM pgAdmin 授权问题漏洞
CVE-2026-17350 5.4 MEDIUM pgAdmin 授权问题漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-17346

暂无评论


发表评论