Git LFS versions from 0.6.0 through 3.8.0 can execute an attacker-selected command or binary while fetching objects from a malicious repository. CVE-2026-105802 covers line-ending characters in submodule configuration values that can mimic additional Git options. CVE-2026-105803 covers .lfsconfig keys with extra components that can bypass the intended option filter. Version 3.8.1 fixes both.
Git configuration is a small language with a large effect. A repository can define settings that look like data, and the client interprets them while building a command. If a value can add a line break or mimic a nested key, untrusted repository content can influence the process that transfers large files.
The impact appears during routine repository work. A developer clones a project, initializes a submodule, or fetches LFS objects. The malicious repository may not look unusual in the web interface. The command runs with the developer's local permissions and may inherit credentials, SSH agents, package caches, and access to internal source code.
Upgrade the Git LFS client to 3.8.1 on developer workstations, CI runners, and build images. A repository that already contains the fixed server-side content does not protect a client that still runs the vulnerable binary. Confirm the version with the executable used by Git, not only a package manager entry for a different installation.
The advisory notes that initialized submodules may be deactivated with git submodule deinit as a temporary mitigation. Treat that as a containment step for existing clones. New clones and other repositories can still reach the vulnerable path until every client is updated.
Restrict repository cloning in high-risk environments. An untrusted source checkout should run in an isolated worker with no long-lived cloud token, a read-only host mount, and an explicit network destination list. Do not mount the user's home directory or SSH socket into that worker. If the checkout needs a package proxy, give it a scoped credential that cannot publish or read unrelated packages.
Review CI configuration for build jobs that clone arbitrary forks or user-provided submodules. Pin the client version in the runner image, disable recursive submodule initialization for untrusted jobs, and separate the checkout job from the job that has deployment credentials. Log the Git LFS binary version and the repository revision.
Hunting is difficult after the fact because the command may be short-lived. Look for unexpected child processes from Git LFS, writes outside the workspace, new network destinations during a fetch, and changes to Git configuration or hooks. Preserve the repository URL, commit, submodule path, and LFS object metadata from the job record.
Build a safe staging test repository that contains a harmless marker instead of a harmful command. Confirm that a vulnerable client attempts to resolve the injected configuration and that 3.8.1 rejects or ignores it. The test should use a disposable account and no production credentials.
Git LFS turns a repository into a configuration input for another executable. The update fixes the parser. Isolation and token separation limit what a future parsing mistake can reach.