CVE-2026-69260

CVE-2026-69260 is a high-severity OS command injection vulnerability in github.com/git-lfs/git-lfs (go), affecting versions >= 0.5.0, <= 2.13.3. It is fixed in 3.8.1.

Does this CVE actually affect you?

Kodem shows which CVEs are reachable and running in your applications, so you fix what's exploitable, not just what's listed.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Runtime intelligence, not another scanner.

Summary

Git LFS may attempt arbitrary remote commands via crafted SSH URLs

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.

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.

Untrusted input reaches a shell command, allowing arbitrary commands to run on the host. Typical impact: code execution in the application's environment.

Affected 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)

Security releases

github.com/git-lfs/git-lfs/v3 → 3.8.1 (go)

Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.

Already deployed Kodem?

See it in your environmentNew to Kodem? Get a demo →

Remediation advice

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.

Frequently Asked Questions

  1. What is CVE-2026-69260? CVE-2026-69260 is a high-severity OS command injection vulnerability in github.com/git-lfs/git-lfs (go), affecting versions >= 0.5.0, <= 2.13.3. It is fixed in 3.8.1. Untrusted input reaches a shell command, allowing arbitrary commands to run on the host.
  2. Which packages are affected by CVE-2026-69260?
    • github.com/git-lfs/git-lfs (go) (versions >= 0.5.0, <= 2.13.3)
    • github.com/git-lfs/git-lfs/v3 (go) (versions >= 3.0.0, < 3.8.1)
  3. Is there a fix for CVE-2026-69260? Yes. CVE-2026-69260 is fixed in 3.8.1. Upgrade to this version or later.
  4. Is CVE-2026-69260 exploitable, and should I be worried? Whether CVE-2026-69260 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
  5. What actually determines whether CVE-2026-69260 is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
  6. How do I fix CVE-2026-69260? Upgrade github.com/git-lfs/git-lfs/v3 to 3.8.1 or later.

Other vulnerabilities in github.com/git-lfs/git-lfs

Stop the waste.
Protect your environment with Kodem.