Live threats

All CVEs / git-lfs

CVE-2026-69260git-lfs

High 7.6 No auth needed

Priority
65
CVSS 4.0
7.6
EPSS
—
Auth required
No
Published
Nov 19, 2026
Updated
Nov 19, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-78
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for git-lfs.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/git-lfs/git-lfs ≥ 0.5.0 ≤ 2.13.3 no fixed version —
Go github.com/git-lfs/git-lfs ≥ 0.5.0 no fixed version —
Go github.com/git-lfs/git-lfs/v3 ≥ 3.0.0 < 3.8.1 3.8.1 go get github.com/git-lfs/git-lfs/v3@v3.8.1
Go github.com/git-lfs/git-lfs/v3 ≥ 3.0.0 < 3.8.1 3.8.1 go get github.com/git-lfs/git-lfs/v3@v3.8.1

Per OSV / GitHub Advisories (GHSA-w3f2-pr6x-wwjc, GO-2026-7021). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.