Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessVictim fetches attacker-controlled repository
-
DeliveryMalicious submodule config delivered
-
ExploitLF control chars inject forged LFS option
-
ExecutionGit LFS parses smuggled config key
-
ImpactArbitrary command executed in victim context
Vulnerability Assessment
| Weakness |
CWE
|
| Exploitation Conditions | Exploitation requires the victim to fetch or clone an attacker-controlled (malicious or compromised) Git repository AND for Git to initialize submodules - i.e. fetch.recurseSubmodules or submodule.recurse enabled, or the victim running git submodule init/update - so that Git LFS parses the malicious submodule's Git configuration. The attacker must be able to insert line-feed/control characters into a configuration value that Git LFS reads (CWE-144). Limiting factors: UI:P means the attack is not self-propagating and depends on the victim performing the fetch; the advisory's workaround (disabling fetch.recurseSubmodules and submodule.recurse, never running git submodule init, and deinitializing existing submodules with git submodule deinit) prevents the vulnerable submodule-config path. Affected versions are all Git LFS releases from 0.6.0 up to and including 3.8.0 (and the pre-v3 0.6.0-2.13.3 module path); the only complete fix is upgrading to v3.8.1 (Alpine: git-lfs 3.8.1-r0). |
| Impact | This is a genuine high-priority issue, not a CVSS-inflated one. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P, score 8.6) indicates a network-reachable, low-complexity, unauthenticated flaw that requires passive victim interaction, and the GHSA advisory confirms the real impact is arbitrary command execution - materially worse than the single 'Information Disclosure' tag in the input suggests. CWE-144 (improper neutralization of line delimiters) matches the root cause: Git LFS parsed Git configuration without rejecting embedded control characters, letting a malicious repository smuggle extra config options via line-feed injection. No EPSS score, no CISA KEV entry, and no SSVC automatable/technical-impact decision are provided in the input; the only external priority signal is the vendor feed's 'this_week' decision label. The references are fix commits, the v3.8.1 release, and the GHSA advisory - there is no public exploit identified at time of analysis, and none of the provided references is working exploit code. Net: credible unauthenticated RCE in a widely used tool with a clear patch, warranting prompt remediation, though the absence of EPSS/KEV data means widespread active exploitation is not demonstrated. |
| Exploit ScenarioDerived | An attacker publishes or compromises a Git repository that embeds a malicious submodule whose .gitmodules/Git configuration contains line-feed control characters crafted to inject an additional Git LFS option (for example a custom transfer or extension command). When a victim clones or fetches the repository with submodule initialization enabled and Git LFS fetches objects, the smuggled option causes Git LFS to execute an attacker-chosen command or binary in the victim's context. No public exploit code is identified at time of analysis; the available references are the fix commits and the GHSA advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Nov 19, 2026
Arbitrary command execution in Git LFS (git-lfs) 0.6.0 through 3.8.0 lets unauthenticated remote attackers run an attacker-chosen command or binary when a victim fetches or clones a malicious repository and Git initializes its submodules. The flaw exists because Git LFS parses git config -l output line-by-line without rejecting embedded line-feed characters, so a crafted submodule configuration value can inject options such as lfs.customtransfer.<name>.path or lfs.extension.<name>.clean that Git LFS later executes. Exploitation requires user interaction (the victim must fetch the repository with submodule recursion enabled or run git submodule init/update); no public exploit was identified at time of analysis, and the vendor fix is v3.8.1 (Alpine: git-lfs 3.8.1-r0).
Earlier versions of this analysis (1)
The Alpine Linux git-lfs package carries an unspecified security defect that is resolved in git-lfs 3.8.1-r0. The supplied intelligence provides no CVSS score or vector, no CWE, no EPSS probability, no CISA KEV entry, and no public exploit reference, so the impact, affected upstream range, and attack prerequisites cannot be confirmed from the available data-no public exploit identified at time of analysis. The vendor fix plus a 'this_month' priority label indicate a scheduled package update rather than active-exploitation urgency.
RemediationAI
Vendor-released patch: v3.8.1 (Alpine: git-lfs 3.8.1-r0); upgrade Git LFS to v3.8.1, which replaces the vulnerable parser with NUL-delimited git config -l -z reading - see https://github.com/git-lfs/git-lfs/releases/tag/v3.8.1 and GHSA-xrgv-7vx6-5vx6. If upgrading is not immediately possible, the vendor workaround is to prevent Git from initializing submodules: set fetch.recurseSubmodules and submodule.recurse to false, never run git submodule init (or git submodule update), and deactivate already-initialized submodules with git submodule deinit. The trade-off is that submodules will no longer be fetched or initialized automatically, which can break workflows that rely on recursive submodule checkouts. Vuln.today priority for this CVE is 'this_week'.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Git LFS is the large-file extension for Git; it shells out to git config -l and parses the key/value listing to discover settings such as lfs.customtransfer.* and lfs.extension.*, which can name executables or shell commands it runs during fetch/add operations. In affected releases the parser split records on newline and key from value on the first =, then used values without rejecting embedded control characters. Because submodule configuration comes from the repository being fetched, an attacker who controls a repository's submodule config can place a line feed inside a value; the injected text is then interpreted as an additional configuration entry, letting the attacker define command-bearing options. This is CWE-144, an improper-neutralization weakness involving special elements/delimiters in parsed configuration leading to command execution. The fix switches the reader to git config -l -z and parses NUL-terminated records with newline separating key and value, which is unambiguous. The advisory lists all releases since 0.6.0 as affected: go/github.com/git-lfs/git-lfs 0.6.0-2.13.3 and go/github.com/git-lfs/git-lfs/v3 3.0.0-3.8.0. The vuln.today tag is 'Information Disclosure', although the advisory and assessed impact are arbitrary command execution.
Know when the next one hits your stack
- 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Unauthenticated network-delivered malicious repo (PR:N, AV:N, AC:L) requiring victim fetch (UI:R); arbitrary command execution in the victim's context yields full C/I/A with no scope change.
Primary rating from Vendor (vendor:alpine).
CVSS VectorVendor: vendor:alpine
Lifecycle Timeline
3DescriptionCVE.org
Alpine Linux: git-lfs fixed in 3.8.1-r0
Executive ViewAI
A high-severity flaw in Git LFS (versions 0.6.0-3.8.0) allows unauthenticated attackers to execute arbitrary commands on developer workstations when a victim clones or updates a malicious repository with submodules. This puts source code, build pipelines, and credentials at risk across engineering and DevOps teams. Leadership should prioritize immediate patching and developer awareness to prevent supply chain compromise.
No vendor-released patch identified at time of analysis. Interim mitigations include disabling Git submodule recursion via git config --global submodule.recurse false, avoiding git submodule init/update on untrusted repositories, reviewing submodule configurations for embedded newline characters, and using repository allowlisting or manual inspection before cloning.
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.
EUVD-2026-130403
GHSA-xrgv-7vx6-5vx6
NVD
CVE.org
EPSS
Exploit-DB