HIGH · CVSS 4.0 EPSS 1.1% · 65th percentile CWE-78

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

Published 2026-11-20 · Updated 2026-11-27 · Also known as BIT-git-lfs-2026-69260, GHSA-w3f2-pr6x-wwjc, GO-2026-7021

Summary

Git LFS may run arbitrary commands on a remote host when it processes specially crafted SSH URLs that contain unquoted path components. All users should upgrade to version 3.8.1 or configure the lfs.sshTransfer option to never.

Who is affected

Git LFS versions 0.5.0 through 2.13.3 and 3.0.0 through 3.8.0 are vulnerable when performing object transfers or authentication over SSH. An attacker can insert shell meta‑characters into the SSH URL’s path component to execute arbitrary commands on the remote host if the command is not properly quoted. The issue occurs whenever Git LFS sends commands to an SSH remote, regardless of whether the remote supports Git LFS operations.

Exploitability

CVSS vector AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N indicates network‑accessible exploitation with low complexity and privileged attacker, yielding high confidentiality and integrity impact on the remote side. EPSS score of 0.011 (percentile 0.653) shows very low exploitability, and CISA KEV lists the vulnerability as not actively exploited.

Remediation

How to check your project

Automated analysis of the published advisory data, generated 2026-11-27. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
Go github.com/git-lfs/git-lfs >= 0.5.0, <= 2.13.3 not published -
Go github.com/git-lfs/git-lfs >= 0.5.0 (no fix published) not published -
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/[email protected]

CVSS 4.0 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

Attack vectorNetwork
Attack complexityLow
Attack requirementsPresent
Privileges requiredNone
User interactionPassive
Confidentiality (vulnerable system)High
Integrity (vulnerable system)High
Availability (vulnerable system)None
Confidentiality (subsequent systems)None
Integrity (subsequent systems)None
Availability (subsequent systems)None

Base score is not computed for CVSS 4.0 vectors; severity is taken from the advisory.

FAQ

What is the CVE identifier for this issue?

CVE-2026-69260

Which versions of Git LFS are patched?

Version 3.8.1 and later of the Go package github.com/git-lfs/git-lfs/v3

Can disabling lfs.sshTransfer prevent exploitation?

Disabling lfs.sshTransfer stops object transfers over SSH but does not prevent authentication requests, so the vulnerability remains unless commands are sanitized.

Original advisory description
### Impact When Git LFS makes object transfer or authentication requests to a remote host via SSH, it passes the path component of the remote's SSH URL as part of a command to be executed, but does not properly format the URL's path component as a single argument. By inserting shell meta-characters into the SSH URL, an attacker may be able to execute arbitrary commands on the remote host, if the host passes the commands to a shell without sanitizing them first. Git LFS has resolved this problem by fully quoting the arguments of the remote commands it sends via SSH. As well, Git LFS has resolved a problem with the default HTTPS URLs used when an SSH URL is configured for a remote host and the host either does not support Git LFS remote commands sent via SSH or supports HTTP authentication via SSH for Git LFS but does not return an explicit HTTP URL in response to a `git-lfs-authenticate` remote command. In these cases, Git LFS now correctly encodes the HTTPS URL used to contact the remote host. ### Patches This problem exists in all versions since 0.5.0 and is patched in v3.8.1. All users should upgrade to v3.8.1. ### Workarounds Users may set the `lfs.sshTransfer` Git configuration option to `never`, after which Git LFS will not attempt any object transfers over SSH. However, Git LFS will still make authentication requests to SSH URLs, so administrators of Git LFS services should ensure their systems sanitize all commands received over SSH before executing them.

References

Source records: GHSA-w3f2-pr6x-wwjc, GO-2026-7021 (OSV.dev) · EPSS by FIRST, 2026-11-27.