← Vulnerabilities

HighAdvisoryGoGitHub

Git LFS may execute arbitrary commands via crafted Git configurations

Affected

PackageAffected versionsFixed in
go:github.com/git-lfs/git-lfs>= 0.6.0, <= 2.13.3No fix yet
go:github.com/git-lfs/git-lfs/v3>= 3.0.0, < 3.8.13.8.1

When fetching objects from a malicious repository, Git LFS may execute an arbitrary command or binary after incorrectly parsing the Git configuration options defined for a submodule. Git LFS reads Git configuration options without checking for embedded line-ending control characters. By inserting control characters such as line feed (LF) into certain values, an attacker may be able to mimic options that cause Git LFS to execute an arbitrary command when fetching or adding objects. Git LFS has r…

Read on GitHub Advisory Database

On 11/20/2026, 11:58 PM, GitHub Advisory Database published "Git LFS may execute arbitrary commands via crafted Git configurations" (type: Advisory). Severity is "High" (high). Related technologies: Go, GitHub. CVE: CVE-2026-105802.