CVE-2026-87818: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') in gitpython-developers GitPython
GitPython version 3.1.59 contains a vulnerability where the --no-index option in the high-level diff API is not properly restricted. This flaw allows attackers to read arbitrary filesystem paths by using the --no-index option combined with -I/--ignore-matching-lines, enabling a content-dependent Boolean oracle to extract single-line secrets from local files based on success or error responses.
AI Analysis
Technical Summary
CVE-2026-87818 describes an argument injection vulnerability in GitPython 3.1.59. The high-level diff API fails to restrict the --no-index option, which attackers can exploit to read arbitrary filesystem paths as repository operands. By combining this with the -I/--ignore-matching-lines option, attackers can perform repeated queries on local files, creating a content-dependent Boolean oracle that allows recovery of single-line secrets through distinguishable success or error responses. This vulnerability has a CVSS 4.0 score of 7.1, indicating high severity, and does not require user interaction or privileges beyond low-level privileges.
Potential Impact
An attacker with low privileges can exploit this vulnerability remotely to read arbitrary files on the filesystem by abusing the --no-index option in the diff API. This can lead to disclosure of sensitive information such as secrets contained in local files. The vulnerability does not require user interaction and has a high impact on confidentiality (VC:H). There is no indication of integrity or availability impact.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid using GitPython 3.1.59 in environments where untrusted users can invoke the diff API with the --no-index option. Monitor vendor communications for updates and apply official patches once released.
CVE-2026-87818: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') in gitpython-developers GitPython
Description
GitPython version 3.1.59 contains a vulnerability where the --no-index option in the high-level diff API is not properly restricted. This flaw allows attackers to read arbitrary filesystem paths by using the --no-index option combined with -I/--ignore-matching-lines, enabling a content-dependent Boolean oracle to extract single-line secrets from local files based on success or error responses.
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-87818 describes an argument injection vulnerability in GitPython 3.1.59. The high-level diff API fails to restrict the --no-index option, which attackers can exploit to read arbitrary filesystem paths as repository operands. By combining this with the -I/--ignore-matching-lines option, attackers can perform repeated queries on local files, creating a content-dependent Boolean oracle that allows recovery of single-line secrets through distinguishable success or error responses. This vulnerability has a CVSS 4.0 score of 7.1, indicating high severity, and does not require user interaction or privileges beyond low-level privileges.
Potential Impact
An attacker with low privileges can exploit this vulnerability remotely to read arbitrary files on the filesystem by abusing the --no-index option in the diff API. This can lead to disclosure of sensitive information such as secrets contained in local files. The vulnerability does not require user interaction and has a high impact on confidentiality (VC:H). There is no indication of integrity or availability impact.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid using GitPython 3.1.59 in environments where untrusted users can invoke the diff API with the --no-index option. Monitor vendor communications for updates and apply official patches once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-09-09T10:32:34.109Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6aa1450bacd9273b494035f4
Added to database: 09/09/2026, 11:37:47 UTC
Last enriched: 09/09/2026, 11:52:10 UTC
Last updated: 09/09/2026, 12:32:24 UTC
Views: 5
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.