Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker crafts git repo with injected filename in commit history
-
DeliveryVictim receives and clones malicious repository
-
ExploitVictim invokes TortoiseGitBlame on affected file
-
ExecutionFilename passes unsanitized to git subprocess
-
PersistInjected arguments redirect git output
-
ImpactArbitrary file written to victim filesystem
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Argument sanitization
|
| Exploitation Conditions | Exploitation requires two specific preconditions: first, the victim must have cloned or otherwise obtained a local copy of a git repository containing specially crafted filenames in the commit history of at least one file; second, the victim must actively invoke TortoiseGitBlame on that specific file, triggering the argument injection. Passive repository presence - cloning, browsing, or committing - is insufficient on its own. The attack is limited to Windows users with TortoiseGit installed, as it is a Windows-exclusive shell extension. No special system privileges are required from either the attacker or the victim (PR:N per CVSS). What limits exploitation: user interaction is mandatory (UI:R), the repository must be delivered and opened by the victim, and impact is bounded by the permissions of the user running TortoiseGitBlame (S:U - no privilege escalation to a higher-privilege process is implied by available data). |
| Impact | The CVSS 3.1 score of 5.5 Medium with vector AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N captures the key risk characteristics: local attack vector requiring user interaction but no special privileges, with high integrity impact. While 'local' might suggest limited exposure, the practical delivery mechanism - a malicious git repository opened by the victim - is realistic in code review, open-source collaboration, and phishing scenarios. No EPSS data was provided, no KEV listing is present, and no POC has been identified at time of analysis; these absences suggest limited active exploitation. Despite the moderate score, the high integrity impact (I:H) via arbitrary file write could enable privilege escalation or persistence depending on which paths the victim user has write access to. AC:L indicates no special circumstances or timing constraints are required once the malicious repository is in the victim's possession, keeping practical exploitation complexity low. |
| Exploit ScenarioDerived | An attacker crafts a git repository in which a tracked file's historical name contains argument injection payloads - for example, a filename embedding a git output flag and a target path. The victim receives this repository through a pull request, a code-sharing platform, or a phishing link, clones it, and uses TortoiseGitBlame to inspect annotation history on the malicious file. The injected arguments cause TortoiseGit to write attacker-controlled content to a path chosen by the attacker within the victim's user-accessible filesystem. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 24, 2026
Arbitrary file write in TortoiseGit's TortoiseGitBlame component is triggered when a user opens a malicious git repository and invokes blame history on a file whose historical filenames contain argument injection payloads. The injected arguments are passed unsanitized to underlying git subprocess calls, allowing an attacker-controlled repository to write files to arbitrary paths on the victim's Windows filesystem. No public exploit has been identified at time of analysis, and no KEV listing exists; however, a fix commit is available upstream.
RemediationAI
An upstream fix is available as commit 7052e3ef61cd104f8a90fb3dcdfb403cbc8c1773 in the TortoiseGit GitLab repository (https://gitlab.com/tortoisegit/tortoisegit/-/commit/7052e3ef61cd104f8a90fb3dcdfb403cbc8c1773); a specific patched release version is not independently confirmed from available input data - users should monitor https://tortoisegit.org/issue/4269 for an official release announcement. As a compensating control until a patched release is confirmed, avoid using TortoiseGitBlame on repositories sourced from untrusted parties, unknown sources, or received via email or external collaboration. Users who cannot restrict repository sources should consider disabling or restricting use of the TortoiseGitBlame feature entirely until a patched version is released. Note that simply cloning a malicious repository does not trigger the vulnerability - only actively invoking TortoiseGitBlame on an affected file does.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
TortoiseGit is a Windows shell extension providing GUI integration for Git, including TortoiseGitBlame for per-line annotation history. The CPE cpe:2.3:a:tortoisegit_team:tortoisegit:*:*:*:*:*:*:*:* indicates all tracked versions are affected with no upper-bound cutoff confirmed. CWE-88 (Argument Injection or Modification) describes the root cause: when TortoiseGitBlame constructs git subprocess invocations using filenames retrieved from git repository history, specially crafted filenames containing argument delimiters or flag-like strings are passed without proper sanitization. This allows the attacker-controlled filename to introduce additional command-line arguments - such as output redirection flags or path parameters - into the underlying git invocation, resulting in writes to attacker-specified filesystem paths.
Know when Tortoisegit gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
AV:L because the malicious repo must be local; UI:R because TortoiseGitBlame must be actively invoked; PR:N as no privileges required on victim system; I:H for arbitrary file write; C and A both N.
Primary rating from Vendor (GitLab).
CVSS VectorVendor: GitLab
Lifecycle Timeline
1DescriptionCVE.org
Argument Injection in TortoiseGitBlame via Malicious Git History Filenames Leads to Arbitrary File Write in TortoiseGit
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
EUVD-2026-38733
GHSA-2h5c-f427-3wjr
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB