cvelo
P2 · HighCVSS 8.6EPSS 0.6%

Git LFS may execute arbitrary commands via crafted Git configurations

  • CVE-2026-105802
  • GHSA-xrgv-7vx6-5vx6
  • BIT-git-lfs-2026-105802
  • GO-2026-7024
  • EUVD-2026-130403

Description

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.

Text from the CVE.org record.

Recommendation

Taken from the version ranges the sources state. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • git-lfs

    Affected versionsFixed in
    >= 0.6.0, <= 2.13.3none stated
    >= 3.0.0, < 3.8.1none stated
  • github.com/git-lfs/git-lfsGo

    Affected versionsFixed in
    from 0.6.0 up to 2.13.3none stated
  • github.com/git-lfs/git-lfs/v3Go

    Affected versionsFixed in
    from 3.0.0 to before 3.8.13.8.1

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.