Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-78675: External Control of File Name or Path in gitpython-developers GitPython

0
High
VulnerabilityCVE-2026-78675cvecve-2026-78675
Published: 08/25/2026 (08/25/2026, 01:30:32 UTC)
Source: CVE Database V5
Vendor/Project: gitpython-developers
Product: GitPython

Description

GitPython versions before 3.1.59 contain a vulnerability where the merge_includes feature is not disabled when parsing .gitmodules files. This allows attackers to craft malicious .gitmodules files with include directives that reference arbitrary local file paths. When the repository's submodules are accessed, the GitConfigParser raises an exception that includes the first line of the targeted file, potentially disclosing sensitive local file content.

CVSS v4.0

Score 8.6high

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected software

gitpython
pkg:pypi/gitpython
Affected versions
<3.1.59

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/25/2026, 02:07:31 UTC

Technical Analysis

The vulnerability in GitPython prior to version 3.1.59 involves improper handling of the merge_includes feature during .gitmodules parsing. Attackers can exploit this by creating a malicious .gitmodules file containing [include] directives that point to arbitrary local files. Accessing repo.submodules triggers GitConfigParser to raise a MissingSectionHeaderError, which embeds the first line of the included file in the exception message, leading to local file content disclosure.

Potential Impact

An attacker with the ability to supply or modify the .gitmodules file in a GitPython repository can cause the application to disclose the first line of arbitrary local files. This information leak could expose sensitive data, potentially aiding further attacks. The vulnerability does not require user interaction or privileges and has a high CVSS score of 8.6, indicating significant impact on confidentiality and integrity.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid processing untrusted .gitmodules files or accessing repo.submodules on repositories from untrusted sources.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-08-25T01:17:12.262Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a8cf57bacd9273b498428b2

Added to database: 08/25/2026, 01:52:59 UTC

Last enriched: 08/25/2026, 02:07:31 UTC

Last updated: 08/25/2026, 02:17:11 UTC

Views: 11

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses