CVE-2026-78679: External Control of File Name or Path in gitpython-developers GitPython
GitPython versions prior to 3.1.59 contain a vulnerability in the TagReference.create() function that allows arbitrary file reads. This occurs because a positional reference parameter bypasses the unsafe option guard, enabling attackers to supply a crafted reference value such as --file=<path> to read arbitrary files. The contents of these files are then returned in the annotated tag message.
AI Analysis
Technical Summary
CVE-2026-78679 is an arbitrary file read vulnerability in GitPython before version 3.1.59. The flaw exists in the TagReference.create() method, where a positional reference parameter bypasses the unsafe option guard. This allows an attacker to supply a reference value like --file=<path>, which causes the application to read arbitrary files and include their contents in the annotated tag message output. This vulnerability has a CVSS 4.0 score of 7.1, indicating high severity, with network attack vector, low attack complexity, and no privileges or user interaction required.
Potential Impact
An attacker with low privileges can remotely exploit this vulnerability to read arbitrary files on the system where GitPython is running. The file contents are exposed in the annotated tag message, potentially leaking sensitive information. There is no indication of privilege escalation or code execution from this vulnerability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch information is provided in the available data. Until a patch is available, avoid using vulnerable versions of GitPython in untrusted environments or restrict access to trusted users only.
CVE-2026-78679: External Control of File Name or Path in gitpython-developers GitPython
Description
GitPython versions prior to 3.1.59 contain a vulnerability in the TagReference.create() function that allows arbitrary file reads. This occurs because a positional reference parameter bypasses the unsafe option guard, enabling attackers to supply a crafted reference value such as --file=<path> to read arbitrary files. The contents of these files are then returned in the annotated tag message.
CVSS v4.0
Score 7.1high
Affected software
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
Technical Analysis
CVE-2026-78679 is an arbitrary file read vulnerability in GitPython before version 3.1.59. The flaw exists in the TagReference.create() method, where a positional reference parameter bypasses the unsafe option guard. This allows an attacker to supply a reference value like --file=<path>, which causes the application to read arbitrary files and include their contents in the annotated tag message output. This vulnerability has a CVSS 4.0 score of 7.1, indicating high severity, with network attack vector, low attack complexity, and no privileges or user interaction required.
Potential Impact
An attacker with low privileges can remotely exploit this vulnerability to read arbitrary files on the system where GitPython is running. The file contents are exposed in the annotated tag message, potentially leaking sensitive information. There is no indication of privilege escalation or code execution from this vulnerability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch information is provided in the available data. Until a patch is available, avoid using vulnerable versions of GitPython in untrusted environments or restrict access to trusted users only.
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: 6a8cf57dacd9273b498428e2
Added to database: 08/25/2026, 01:53:01 UTC
Last enriched: 08/25/2026, 02:07:05 UTC
Last updated: 08/25/2026, 02:15:32 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.