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

目标: 1000 元 · 已筹: 1336

100%

CVE-2026-53586— libgit2 HTTP传输凭证泄露漏洞

一分钟漏洞结论

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

libgit2 是一个可移植的 C 语言实现,它提供了 Git 核心功能,并作为一个具有稳定 API 的可链接库,允许开发人员将 Git 功能集成到自己的应用程序中。 在版本 1.8.6 和 1.9.5 之前,libgit2 内置的 HTTP 传输机制(位于 )存在安全缺陷:当重定向的目标主机返回 401 Unauthorized(未授权)状态时, 和 函数会错误地将 (原始 URL)而非 (实际服务器 URL)传递给凭据回调函数。 因此,如果一个凭据回调函数将凭据限定为仅适用于原始可信 URL,libgit2 仍

CVSS 6.5 · Medium EPSS 0.47% · P39

影响版本矩阵 2

厂商产品 版本范围状态
libgit2 libgit2 < 1.8.6 affected
>= 1.9.0, < 1.9.5 affected
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
libgit2: HTTP transport can leak credentials to an offsite redirect target
来源: CVE Program / CVE List V5
Vulnerability Description
libgit2 is a portable C implementation of the Git core methods provided as a linkable library with a solid API, allowing to build Git functionality into your application. Prior to 1.8.6 and 1.9.5, the built-in HTTP transport in src/libgit2/transports/http.c follows an offsite initial redirect, and handle_remote_auth and handle_auth pass transport->owner->url instead of transport->server.url to the credential callback when the redirected host returns 401 Unauthorized. A callback that scopes credentials to the original trusted URL can therefore return GIT_CREDENTIAL_USERPASS_PLAINTEXT credentials that libgit2 stores in transport->server.cred and sends as an Authorization header to the redirected host. An attacker who controls a trusted Git host or an open redirect on that host can disclose HTTP Basic credentials, personal access tokens, or equivalent credentials. This issue is fixed in versions 1.8.6 and 1.9.5.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
来源: CVE Program / CVE List V5
Vulnerability Type
信息暴露
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
libgit2 libgit2 < 1.8.6 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

登录查看更多情报信息。

CVE-2026-53586 补丁与修复 (4)

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

CVE-2026-53586 厂商页面 (1)

同批安全公告 · libgit2 · 2026-08-20 · 共 5 条

CVE-2026-53587 7.5 HIGH libgit2 远程堆缓冲区越界读取漏洞
CVE-2026-53583 6.5 MEDIUM libgit2 OpenSSL后端IP主题备用名称比较反转漏洞
CVE-2026-53585 5.3 MEDIUM libgit2 通过 Delta 对象结果大小头导致无限内存分配漏洞
CVE-2026-53584 4.3 MEDIUM libgit2 子模块路径遍历漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-53586

暂无评论


发表评论