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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-78679— GitPython before 3.1.59 Arbitrary File Read via TagReference.create

Quick assessment

Affected
gitpython-developers GitPython
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.

GitPython 3.1.59 之前的版本中存在任意文件读取漏洞,该漏洞位于 TagReference.create() 函数中。攻击者可以通过提供类似 --file=<path> 的引用值,绕过不安全的选项保护机制,从而读取任意文件,且文件内容会出现在注释标签的消息中。

CVSS 6.5 · Medium EPSS 0.24% · P15

Possible ATT&CK Techniques 1 AI

T1005 · Data from Local System

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-78679

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 Arbitrary File Read via TagReference.create
Source: CVE Program / CVE List V5
Vulnerability Description
GitPython before 3.1.59 contains an arbitrary file read vulnerability in TagReference.create() where a positional reference parameter bypasses the unsafe option guard. Attackers can supply a reference value like --file=<path> to read arbitrary files, with contents returned in the annotated tag message.
Source: 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
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-78679

# 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-78679

登录查看更多情报信息。

Vendor Advisories for CVE-2026-78679 (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-78675 8.4 HIGH GitPython before 3.1.59 Local File Content Disclosure via .gitmodules
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()

IV. Related Vulnerabilities

V. Comments for CVE-2026-78679

No comments yet


Leave a comment