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-76222: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in gitpython-developers GitPython

0
High
Published: 08/19/2026 (08/19/2026, 15:32:33 UTC)
Source: CVE Database V5
Vendor/Project: gitpython-developers
Product: GitPython

Description

GitPython before 3.1.58 fails to validate submodule names from .gitmodules files, allowing attackers to create Git repositories at arbitrary filesystem paths outside the intended clone directory. Attackers can craft malicious repositories with traversal sequences in submodule names that GitPython processes during submodule initialization, creating attacker-controlled Git repositories at escaped filesystem locations.

CVSS v4.0

Score 8.4high

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

Affected software

gitpython
pkg:pypi/gitpython
Affected versions
<3.1.58

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/19/2026, 14:40:21 UTC

Technical Analysis

CVE-2026-76222 is a path traversal vulnerability in GitPython prior to version 3.1.58. The issue arises because GitPython fails to properly validate submodule names extracted from .gitmodules files. Attackers can exploit this by crafting malicious repositories with submodule names containing directory traversal sequences, causing GitPython to create Git repositories at unintended filesystem paths outside the target clone directory during submodule initialization.

Potential Impact

Successful exploitation enables attackers to create Git repositories at arbitrary filesystem paths outside the intended clone directory. This could lead to unauthorized file creation or modification in locations controlled by the attacker, potentially impacting system integrity or security depending on the environment where GitPython is used.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or patch link is provided, users should monitor the vendor's announcements for updates and avoid processing untrusted .gitmodules files until a fix is available.

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-19T11:35:13.689Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a85bc7aacd9273b492f49c0

Added to database: 08/19/2026, 14:23:54 UTC

Last enriched: 08/19/2026, 14:40:21 UTC

Last updated: 08/19/2026, 17:55:41 UTC

Views: 2

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