Read the docs

Git LFS can run attacker commands through crafted Git configuration

Priority MEDIUM 40CWE-144Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.

Summary

Git LFS from 0.6.0 through 2.13.3 and from 3.0.0 before 3.8.1 reads Git configuration options for a submodule without checking for embedded line-ending control characters (CWE-144). A malicious repository can insert a line feed into those values to mimic options that make Git LFS run an attacker-controlled command while fetching or adding objects. Exploitation requires a user to interact with the malicious repository.

Written with Claude Haiku 5.5 from the sources below · 2026-11-20

Description from the CNA

Git LFS is a Git extension for versioning large files. From 0.6.0 until 3.8.1, Git LFS reads Git configuration options defined for a submodule without checking certain values for embedded line-ending control characters. A malicious repository can insert control characters such as line feed (LF) into those values to mimic options that cause Git LFS to execute an attacker-controlled command or binary while fetching or adding objects. This issue is fixed in version 3.8.1.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00528 38th percentileScored 2026-11-30
Fix Fixed git-lfs (git-lfs): 3.8.1github.com/git-lfs/git-lfs/v3 (Go): 3.8.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
git-lfsgit-lfs0.6.0 – 2.13.3; 3.0.0 to before 3.8.13.8.1Patch availableCNA
—github.com/git-lfs/git-lfs (Go)0.6.0 – 2.13.3—No fix listedGHSA-xrgv-7vx6-5vx6
—github.com/git-lfs/git-lfs/v3 (Go)3.0.0 to before 3.8.13.8.1Patch availableGHSA-xrgv-7vx6-5vx6
  • git-lfs Vendorgit-lfs Affected 0.6.0 – 2.13.3; 3.0.0 to before 3.8.1 Fixed in 3.8.1 Patch available CNA
  • github.com/git-lfs/git-lfs (Go) Vendor— Affected 0.6.0 – 2.13.3 Fixed in — No fix listed GHSA-xrgv-7vx6-5vx6
  • github.com/git-lfs/git-lfs/v3 (Go) Vendor— Affected 3.0.0 to before 3.8.1 Fixed in 3.8.1 Patch available GHSA-xrgv-7vx6-5vx6

Remediation

Upgrade git-lfs to version 3.8.1 and github.com/git-lfs/git-lfs/v3 to version 3.8.1. The sources list no fixed version for github.com/git-lfs/git-lfs.

Written with Claude Haiku 5.5 from the sources below · 2026-11-20

  • Fix · CNA git-lfs (git-lfs) Fixed in 3.8.1
  • Fix · GHSA-xrgv-7vx6-5vx6 github.com/git-lfs/git-lfs/v3 (Go) Fixed in 3.8.1 Advisory →

Timeline

  1. 2026-11-19 Threatist record created from CVE-2026-105802
  2. 2026-11-20 Alias added: GHSA-xrgv-7vx6-5vx6
  3. 2026-11-20 Fix available: Go/github.com/git-lfs/git-lfs/[email protected] · GHSA-xrgv-7vx6-5vx6
  4. 2026-11-20 CVSS score added · GHSA-xrgv-7vx6-5vx6
  5. 2026-11-20 Weakness changed · GHSA-xrgv-7vx6-5vx6
  6. 2026-11-20 6 new references · GHSA-xrgv-7vx6-5vx6
  7. 2026-11-20 CISA SSVC decision points changed

References

  • TI-2025-19562 Git LFS may write to arbitrary files via crafted symlinks CVSS 4.0HIGH 8.6
  • TI-2024-35726 Git LFS permits exfiltration of credentials via crafted HTTP URLs CVSS 4.0HIGH 8.5
  • TI-2026-95004 Command execution in Git LFS via crafted .lfsconfig keys CVSS 4.0HIGH 8.6
  • TI-2026-94996 OS command injection in Git LFS via crafted SSH URLs CVSS 4.0HIGH 7.6
  • TI-2026-95001 Git LFS forwards cookies to other hosts after HTTP redirects CVSS 4.0HIGH 7.6

Sources