CVE-2026-69260
Received Received - Intake

Arbitrary Command Execution in Git LFS via SSH URL

Vulnerability report for CVE-2026-69260, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-19

Last updated on: 2026-11-19

Assigner: GitHub, Inc.

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-19
Last Modified
2026-11-19
Generated
2026-11-20
AI Q&A
2026-11-19
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 5 associated CPEs
Vendor Product Version / Range
github git_lfs From 0.5.0 (inc) to 3.8.1 (inc)
github git_lfs 3.8.1
github git_lfs 0.5.0
github git_lfs From 0.5.0 (inc) to 2.13.3 (inc)
github git_lfs From 3.0.0 (inc) to 3.8.0 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-78 The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-69260 is a command injection vulnerability in Git LFS (Git Large File Storage) versions 0.5.0 through 3.8.0. It occurs when Git LFS processes SSH URLs in configuration files like .lfsconfig. The client fails to properly escape shell metacharacters (e.g., semicolons, ampersands) in the SSH URL path, allowing attackers to inject arbitrary shell commands into remote Git LFS commands such as git-lfs-transfer or git-lfs-authenticate. This can lead to remote code execution on vulnerable systems.

Detection Guidance

Check Git LFS version with 'git lfs version'. If it is below 3.8.1, the system is vulnerable. Inspect .lfsconfig files for SSH URLs containing shell metacharacters like semicolons, ampersands, pipes, or line feeds in lfs.url or lfs.pushurl values.

Impact Analysis

If exploited, this vulnerability could allow attackers to execute arbitrary commands on your system with the same privileges as the Git LFS process. This may lead to unauthorized data access, modification, or deletion. Attackers could also escalate privileges or pivot to other systems in your network. The impact depends on the permissions of the Git LFS process and the system configuration.

Compliance Impact

This vulnerability could lead to unauthorized access or modification of sensitive data, violating GDPR's data integrity and confidentiality requirements or HIPAA's safeguards for protected health information. Organizations may face compliance violations, legal penalties, and reputational damage if exploited. Proper patching and secure configuration are critical to maintain compliance.

Mitigation Strategies

Upgrade Git LFS to version 3.8.1 or later. Alternatively, disable SSH object transfers by setting 'lfs.sshTransfer never' in Git configuration. Review and sanitize .lfsconfig files to remove shell metacharacters from SSH URLs.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-69260. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...