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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-78675— GitPython before 3.1.59 Local File Content Disclosure via .gitmodules

Quick assessment

Affected
gitpython-developers GitPython
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

GitPython 3.1.59 之前的版本在解析 .gitmodules 文件时,未能禁用 merge_includes 选项,攻击者可以通过 [include] 指令包含任意文件路径,从而泄露本地文件内容。攻击者可以构造一个恶意的 .gitmodules 文件,其中的 include 指令指向敏感文件;当访问 repo.submodules 时,GitConfigParser 会抛出 MissingSectionHeaderError 异常,异常消息中将按原文嵌入目标文件的第一行内容。

CVSS 8.4 · High EPSS 0.12% · P2

Possible ATT&CK Techniques 1 AI

T1135 · Network Share Discovery

Affected Version Matrix 2

VendorProduct Version RangeStatus
gitpython-developers GitPython < 3.1.59 affected
3.1.59 unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-78675

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
GitPython before 3.1.59 Local File Content Disclosure via .gitmodules
Source: CVE Program / CVE List V5
Vulnerability Description
GitPython before 3.1.59 fails to disable merge_includes when parsing .gitmodules, allowing attackers to disclose local file content by including arbitrary file paths via [include] directives. Attackers can craft a malicious .gitmodules file with include directives pointing to sensitive files; when repo.submodules is accessed, GitConfigParser raises MissingSectionHeaderError embedding the target file's first line verbatim in the exception message.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
文件名或路径的外部可控制
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
gitpython-developers GitPython 0 ~ 3.1.59 -

II. Public POCs for CVE-2026-78675

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 8230 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-78675

登录查看更多情报信息。

Vendor Advisories for CVE-2026-78675 (2)

Same Patch Batch · gitpython-developers · 2026-08-25 · 5 CVEs total

CVE-2026-78676 9.8 CRITICAL GitPython before 3.1.59 Remote Code Execution via Config Injection
CVE-2026-78677 7.5 HIGH GitPython before 3.1.59 Path Traversal via separate-git-dir
CVE-2026-78678 6.5 MEDIUM GitPython before 3.1.59 Arbitrary File Read via Repo.blame()
CVE-2026-78679 6.5 MEDIUM GitPython before 3.1.59 Arbitrary File Read via TagReference.create

IV. Related Vulnerabilities

V. Comments for CVE-2026-78675

No comments yet


Leave a comment