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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-116240— pgAdmin 4 文件管理器路径检查绕过漏洞

一分钟漏洞结论

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

在服务器模式下,pgAdmin 4 通过 函数验证用户存储目录中的路径,该函数利用 构建绝对路径。然而,多个调用方以不同的方式构建路径,导致被验证的路径与实际使用的路径可能指向不同的文件: 在查询工具中打开文件、读取 Google 客户端密钥,以及在 Windows 系统上进行导入/导出数据、备份、还原和保存文件时,相关操作会在去除路径前导的斜杠和反斜杠后,再将路径拼接至存储目录。在 POSIX 系统上,原本被验证为位于存储目录内的路径,在去除前导字符后可能变为绝对路径,从而允许 pgAdmin 账户读取其可访问的

CVSS 6.5 · Medium
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
pgAdmin 4: File Manager and storage-path tools act on a different path from the one checked
来源: CVE Program / CVE List V5
Vulnerability Description
In server mode pgAdmin 4 validates a path into the user's storage directory with check_access_permission(), which builds the absolute path with get_abs_path(). Several callers then acted on a path they built differently, so the path checked and the path used could name different files: - Opening a file in the Query Tool, the Google client secret and, on Windows, Import/Export Data, Backup, Restore and saving a file joined the path to the storage directory after stripping leading slashes and backslashes. On POSIX a path checked as a name inside storage could become an absolute path once stripped, so any file the pgAdmin account can read could be opened; on Windows a path naming a drive discarded the storage directory, so these could read, or write, outside it. - Listing a folder decoded the path a second time after the check, so a folder named like an encoded "..", which a user can create, listed any directory on the host. - Download, delete, rename and the file-exists check appended the path to the storage directory without a separator, so in a deployment where one user's storage directory name is a prefix of another's, another user's files could be read, deleted or moved; download also checked the path appended to itself. - Creating a folder could create one in another user's directory. The fix makes check_access_permission() return the path it checked and every caller act on that path, decodes folder paths once, and opens, deletes and renames files relative to directories opened from the storage directory without following symbolic links. Desktop mode is not affected. 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:U/C:H/I:N/A:N
来源: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
来源: CVE Program / CVE List V5

受影响产品

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

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

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

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

CVE-2026-116241 9.9 CRITICAL pgAdmin 4 导入导出数据远程命令执行漏洞
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-116251 4.2 MEDIUM pgAdmin 4 会话未随密码修改失效漏洞

IV. Related Vulnerabilities