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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-116241— pgAdmin 4 导入导出数据远程命令执行漏洞

一分钟漏洞结论

影响对象
pgadmin.org pgAdmin 4
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

pgAdmin 4 的“导入/导出数据”工具会将用户查询的导出操作包装在 命令中,并检查查询中的括号是否成对,以防止内容从包装结构中逃逸。该检查会拒绝单引号字符串内出现的反斜杠,但未拒绝双引号标识符内的反斜杠;在这种情况下,工具将随后的双引号视为标识符的结束符。然而, 的 解析器会根据开启该记号的引号类型,应用连接所配置的转义字符。因此,当 设置为 时,经过反斜杠转义的双引号并不会结束标识符。这导致 pgAdmin 与 psql 对引号的理解出现分歧:一个被检查机制忽略的闭合括号提前结束了 包装结构,而随后的 子句

CVSS 9.9 · Critical
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
pgAdmin 4: Import/Export Data query export runs a command through a backslash in a double-quoted identifier
来源: CVE Program / CVE List V5
Vulnerability Description
pgAdmin 4's Import/Export Data tool wraps a user's query export in a psql \copy (...) TO command and checks that the query's parentheses are balanced so that nothing can escape the wrapper. The check rejected a backslash inside a single-quoted string, but not inside a double-quoted identifier, where it treated the next double quote as closing the identifier. psql's \copy parser applies the connection's escape character to whichever quote opened a token, so with standard_conforming_strings off a backslash-escaped double quote does not close the identifier. pgAdmin's and psql's view of the quoting then diverged, a closing parenthesis hidden from the check ended the \copy (...) wrapper, and a following TO PROGRAM clause was executed by psql on the pgAdmin host, as the operating-system account running pgAdmin, before the server rejected the statement. An ordinary database role can turn standard_conforming_strings off for itself, and the Import/Export Data permission is granted to non-administrators by default. This is a bypass of the fix for CVE-2026-17566. The fix rejects any backslash inside a double-quoted identifier, as was already done for single-quoted strings, since its meaning depends on a server setting that cannot be known reliably when the query is validated. This issue affects pgAdmin 4: before 9.19.
来源: 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:H
来源: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
pgadmin.org pgAdmin 4 0 ~ 9.19 -

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

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

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

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

CVE-2026-116241 其他参考 (2)

同批安全公告 · pgadmin.org · 2026-10-30 · 共 15 条

CVE-2026-116239 8.5 HIGH pgAdmin 4 LDAP/Kerberos 登录账户混淆漏洞
CVE-2026-116249 8.4 HIGH pgAdmin 4 连接文件路径和参数键越界漏洞
CVE-2026-116247 8.2 HIGH pgAdmin 4 身份认证凭证泄露漏洞
CVE-2026-116245 8.2 HIGH pgAdmin 4 服务器模式连接服务未受限漏洞
CVE-2026-116242 8.2 HIGH pgAdmin 4 SSH 隧道使用服务账户身份漏洞
CVE-2026-116244 8.2 HIGH pgAdmin 4 凭据泄露漏洞
CVE-2026-116238 8.1 HIGH pgAdmin 4 认证绕过漏洞
CVE-2026-116243 7.5 HIGH pgAdmin 4 工具二进制路径指向共享存储目录漏洞
CVE-2026-116248 6.8 MEDIUM pgAdmin 4 非管理员共享服务器权限提升漏洞
CVE-2026-116252 6.5 MEDIUM pgAdmin 4 物化视图刷新重定向漏洞
CVE-2026-116250 6.5 MEDIUM pgAdmin 4 存储目录符号链接绕过漏洞
CVE-2026-116246 6.5 MEDIUM pgAdmin 4 服务器密码泄露漏洞
CVE-2026-116240 6.5 MEDIUM pgAdmin 4 文件管理器路径检查绕过漏洞
CVE-2026-116251 4.2 MEDIUM pgAdmin 4 会话未随密码修改失效漏洞

IV. Related Vulnerabilities