Skip to content
DayZeroHub
High Not yet writtenCVSS 8.6GHSA-xrgv-7vx6-5vx6CVE-2026-105802GO-2026-7024BIT-git-lfs-2026-105802

CVE-2026-105802: Git LFS may execute arbitrary commands via crafted Git configurations

git-lfs git-lfs

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-105802: high-severity vulnerability (CVSS 8.6) in git-lfs git-lfs.

What happened

Original description from the source: 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

High severity, CVSS 8.6.

Affected products and versions

github.com/git-lfs/git-lfs >= 0.6.0, <= 2.13.3; github.com/git-lfs/git-lfs/v3 >= 3.0.0, < 3.8.1 (fixed in 3.8.1); git-lfs git-lfs >= 0.6.0, <= 2.13.3; git-lfs git-lfs >= 3.0.0, < 3.8.1

ProductVersionsFixed in
github.com/git-lfs/git-lfs>= 0.6.0, <= 2.13.3—
github.com/git-lfs/git-lfs/v3>= 3.0.0, < 3.8.13.8.1
git-lfs git-lfs>= 0.6.0, <= 2.13.3—
git-lfs git-lfs>= 3.0.0, < 3.8.1—

Action recommended by the source

Upgrade to a fixed version: 3.8.1.

Fixed in: 3.8.1

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-144

Relevant change history

  1. Published

    Preliminary advisory published.