Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-53584— libgit2: Submodule path traversal

Quick assessment

Affected
libgit2 libgit2
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

libgit2 是一个便携式的 C 语言实现,提供了 Git 核心方法的链接库,拥有稳定的 API,允许将 Git 功能集成到您的应用程序中。在 1.8.6 和 1.9.5 版本之前,libgit2 不会拒绝从 .gitmodules 加载的子模块路径中的遍历组件(如 “../”)。受影响的源文件路径包括 src/libgit2/submodule.c 中的 git_submodule_lookup 和 git_submodule_add_setup。通过构造一个特定的仓库,可以指定类似 ../escape-tar

CVSS 4.3 · Medium EPSS 0.40% · P34

Affected Version Matrix 2

VendorProduct Version RangeStatus
libgit2 libgit2 < 1.8.6 affected
>= 1.9.0, < 1.9.5 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-53584

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
libgit2: Submodule path traversal
Source: 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, libgit2 does not reject traversal components in a submodule path loaded from .gitmodules. The affected src/libgit2/submodule.c paths include git_submodule_lookup and git_submodule_add_setup. A crafted repository can specify a path such as ../escape-target, and applications that initialize the submodule can create directories outside the repository working tree. This issue is fixed in versions 1.8.6 and 1.9.5.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
libgit2 libgit2 < 1.8.6 -

II. Public POCs for CVE-2026-53584

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-53584

登录查看更多情报信息。

Patches & Fixes for CVE-2026-53584 (4)

Vendor Advisories for CVE-2026-53584 (1)

Vendor Pages for CVE-2026-53584 (1)

Same Patch Batch · libgit2 · 2026-08-20 · 5 CVEs total

CVE-2026-53587 7.5 HIGH libgit2 - Unauthenticated network-reachable heap out-of-bounds read in transports/smart_pk
CVE-2026-53586 6.5 MEDIUM libgit2: HTTP transport can leak credentials to an offsite redirect target
CVE-2026-53583 6.5 MEDIUM libgit2: Inverted IP SubjectAltName Comparison in OpenSSL Backend
CVE-2026-53585 5.3 MEDIUM libgit2: Unbounded Memory Allocation via Delta Object Result-Size Header

IV. Related Vulnerabilities

V. Comments for CVE-2026-53584

No comments yet


Leave a comment