Skip to content
DayZeroHub
High Not yet writtenCVSS 7.6GHSA-w3f2-pr6x-wwjcCVE-2026-69260GO-2026-7021BIT-git-lfs-2026-69260

CVE-2026-69260: Git LFS may attempt arbitrary remote commands via crafted SSH URLs

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-69260: high-severity vulnerability (CVSS 7.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.5.0 until 3.8.1, Git LFS does not format the SSH URL path component as a single argument when constructing remote object-transfer or authentication commands. Shell metacharacters in the SSH URL can therefore escape the intended path argument and cause arbitrary command execution when the remote Git LFS service passes received commands to a shell without adequate sanitization. Git LFS also incorrectly encodes default HTTPS URLs when an SSH URL is configured and the remote host either does not support Git LFS remote commands over SSH or supports HTTP authentication over SSH but git-lfs-authenticate does not return an explicit HTTP URL. This issue is fixed in version 3.8.1.

Why it matters

High severity, CVSS 7.6.

Affected products and versions

github.com/git-lfs/git-lfs >= 0.5.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.5.0, <= 2.13.3; git-lfs git-lfs >= 3.0.0, < 3.8.1

ProductVersionsFixed in
github.com/git-lfs/git-lfs>= 0.5.0, <= 2.13.3—
github.com/git-lfs/git-lfs/v3>= 3.0.0, < 3.8.13.8.1
git-lfs git-lfs>= 0.5.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-78

Relevant change history

  1. Published

    Preliminary advisory published.