CVE-2026-11968
Received Received - Intake
Argument Injection in TortoiseGitBlame via Git History Filenames

Publication date: 2026-06-24

Last updated on: 2026-06-24

Assigner: GitLab Inc.

Description
Argument Injection in TortoiseGitBlame via Malicious Git History Filenames Leads to Arbitrary File Write in TortoiseGit
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-24
Last Modified
2026-06-24
Generated
2026-06-24
AI Q&A
2026-06-24
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
tortoisegit tortoisegit From 1.8.10.0 (inc) to 2.19.0 (inc)
tortoisegit tortoisegit 2.18.0.1
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-88 The product constructs a string for a command to be executed by a separate component in another control sphere, but it does not properly delimit the intended arguments, options, or switches within that command string.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

CVE-2026-11968 is a vulnerability in TortoiseGitBlame that allows an attacker to perform arbitrary file writes by injecting malicious arguments through specially crafted Git history filenames.

An attacker creates a malicious Git repository with filenames containing injected tokens such as /command, /revision, and /savepath. These filenames are renamed to benign ones in the HEAD commit to avoid suspicion during normal cloning and browsing.

When a user uses the TortoiseGitBlame feature and selects options like "Blame previous" or "Diff with previous," the injected arguments are passed to TortoiseGitProc, enabling command execution and arbitrary file writes.

The root cause is improper encoding of parameters passed to TortoiseGit tools, which was fixed by properly encoding all parameters in release 2.18.0.1.

Mitigation Strategies

The primary mitigation step is to upgrade TortoiseGit to version 2.18.0.1 or later, where the vulnerability has been fixed by properly encoding all parameters passed to TortoiseGit tools to prevent command injection.

Until the upgrade is applied, avoid using the "Blame previous" or "Diff with previous" features on files from untrusted or suspicious Git repositories that may contain malicious filenames.

Additionally, review and sanitize Git repository filenames to ensure they do not contain injected tokens such as /command, /revision, or /savepath.

Compliance Impact

The provided information does not specify any direct impact of CVE-2026-11968 on compliance with common standards and regulations such as GDPR or HIPAA.

Impact Analysis

This vulnerability can allow an attacker to execute arbitrary commands and write files on your system when you use the TortoiseGitBlame feature on a malicious repository.

Such arbitrary file writes can lead to unauthorized modification or creation of files, potentially compromising system integrity or enabling further attacks.

Because the attack requires user interaction (selecting "Blame previous" or "Diff with previous"), it involves some user action but can still result in significant security risks.

Detection Guidance

This vulnerability involves malicious Git repository filenames containing injected tokens such as /command, /revision, and /savepath that lead to arbitrary file writes when using TortoiseGitBlame features like "Blame previous" or "Diff with previous."

To detect this vulnerability on your system, you can check if you have TortoiseGit versions between 1.8.10.0 and 2.19.0 installed, as these are affected.

You can also inspect Git repositories for suspicious filenames containing tokens like /command, /revision, or /savepath that might be used to exploit this issue.

While no specific commands are provided in the resources, a practical approach would be to search your Git repositories for filenames containing these suspicious tokens, for example using a command like:

  • find /path/to/repos -type f -name '*command*' -o -name '*revision*' -o -name '*savepath*'

Additionally, monitoring usage of TortoiseGitBlame features that invoke "Blame previous" or "Diff with previous" on files with such suspicious filenames could help detect exploitation attempts.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-11968. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart