Read the docs

Command execution in Git LFS via crafted .lfsconfig keys

Priority MEDIUM 46CWE-1286Published · 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
Partial Red Hat: 1 fixed, 3 without a fix

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

Summary

Git LFS from 1.3.0 through 2.13.3 and from 3.0.0 before 3.8.1 does not correctly filter the options it accepts from a repository's .lfsconfig file. Option keys with certain extra components can mimic options that set a custom transfer command (CWE-1286). A remote attacker needs a user to interact with a crafted repository, and the attacker-selected command then runs when Git LFS fetches objects.

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

Description from the CNA

Git LFS is a Git extension for versioning large files. From 1.3.0 until 3.8.1, Git LFS does not correctly filter the limited set of options permitted in a repository's .lfsconfig file when option keys contain certain additional components. Crafted keys can mimic options that configure Git LFS to use a custom command to transfer objects, causing Git LFS to execute an attacker-selected command or binary while fetching 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.00609 43rd percentileScored 2026-11-30
Fix Partial git-lfs (git-lfs): 3.8.1github.com/git-lfs/git-lfs/v3 (Go): 3.8.1Red Hat: 1 advisoryRed Hat: 1 fixed, 3 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
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-lfs1.3.0 – 2.13.3; 3.0.0 to before 3.8.13.8.1Patch availableCNA
—github.com/git-lfs/git-lfs (Go)1.3.0 – 2.13.3—No fix listedGHSA-x72p-hmqp-46hw
—github.com/git-lfs/git-lfs/v3 (Go)3.0.0 to before 3.8.13.8.1Patch availableGHSA-x72p-hmqp-46hw
  • git-lfs Vendorgit-lfs Affected 1.3.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 1.3.0 – 2.13.3 Fixed in — No fix listed GHSA-x72p-hmqp-46hw
  • 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-x72p-hmqp-46hw

Remediation

Update git-lfs and github.com/git-lfs/git-lfs/v3 to 3.8.1. Red Hat Hardened Images is fixed by RHSA-2026:91645, released 2026-10-28. Red Hat Enterprise Linux 8, 9 and 10 are affected without a fix. 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-27

  • Fix · CNA git-lfs (git-lfs) Fixed in 3.8.1
  • Fix · GHSA-x72p-hmqp-46hw github.com/git-lfs/git-lfs/v3 (Go) Fixed in 3.8.1 Advisory →

Red Hat 1 advisory

  • RHSA-2026:91645 Released 2026-10-28 · Red Hat rating Important
    Red Hat Hardened Images RPMs Security Update
    • Red Hat Hardened Images git-lfs-3.8.1-0.2.hum1@aarch64, git-lfs-3.8.1-0.2.hum1@s390x, git-lfs-3.8.1-0.2.hum1@src +1

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 10Affected—
Red Hat Enterprise Linux 8Affected—
Red Hat Enterprise Linux 9Affected—
Red Hat Hardened ImagesFixed RHSA-2026:91645

Timeline

  1. 2026-11-19 Threatist record created from CVE-2026-105803
  2. 2026-11-19 CISA SSVC decision points changed
  3. 2026-11-20 Affected versions changed · Red Hat
  4. 2026-11-20 CVSS score added · Red Hat
  5. 2026-11-20 Alias added: GHSA-x72p-hmqp-46hw
  6. 2026-11-20 Fix available: Go/github.com/git-lfs/git-lfs/[email protected] · GHSA-x72p-hmqp-46hw
  7. 2026-11-20 CVSS score added · GHSA-x72p-hmqp-46hw
  8. 2026-11-20 Weakness changed · GHSA-x72p-hmqp-46hw
  9. 2026-11-20 10 new references · GHSA-x72p-hmqp-46hw
  10. 2026-11-21 EPSS moved to the 50th–90th percentile
  11. 2026-11-23 Fix available: RHSA-2026:91645 · Red Hat
  12. 2026-11-23 Fix available: Red Hat Hardened Images · Red Hat
  13. 2026-11-25 EPSS moved to the below the 50th percentile
  14. 2026-11-27 Affected versions changed · Red Hat

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-95003 Git LFS can run attacker commands through crafted Git configuration 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