CVE-2026-69260
Description
A flaw was found in git-lfs. When constructing remote authentication or object-transfer commands, Git LFS fails to properly format the path component of Secure Shell (SSH) URLs as a single argument. A remote attacker can exploit this issue by supplying a crafted repository URL containing shell metacharacters, allowing command arguments to escape and potentially resulting in arbitrary command execution on the remote service.
Statement
This vulnerability is rated as Important because exploiting it allows remote arbitrary command execution with the privileges of the local user, though it requires user interaction to clone, fetch, or operate on a repository with a maliciously crafted SSH URL. In Red Hat environments, Git LFS operates as an optional client-side tool rather than an exposed network daemon, limiting the blast radius to the context of the executing user. Workflows that do not use Git LFS or that interact solely with verified remote endpoints are not exposed to this issue.
Mitigation
Avoid cloning, fetching, or checking out untrusted Git repositories, submodules, or branches that contain unverified remote SSH URLs.
If Git Large File Storage functionality is not required on the system, remove the optional git-lfs package:
# dnf remove git-lfs
Caveats: Removing git-lfs will prevent managing, tracking, and downloading files stored via Git LFS. No system reboot or service restart is required.
Common Vulnerability Scoring System (CVSS) Score Details
Info alert:Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 8.8 | N/A | N/A |
| Attack Vector | Network | N/A | N/A |
| Attack Complexity | Low | N/A | N/A |
| Privileges Required | None | N/A | N/A |
| User Interaction | Required | N/A | N/A |
| Scope | Unchanged | N/A | N/A |
| Confidentiality | High | N/A | N/A |
| Integrity Impact | High | N/A | N/A |
| Availability Impact | High | N/A | N/A |
Vector
Red Hat: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Understanding the Weakness (CWE)
Confidentiality,Integrity,Availability,Non-Repudiation
Technical Impact: Execute Unauthorized Code or Commands; DoS: Crash, Exit, or Restart; Read Files or Directories; Modify Files or Directories; Read Application Data; Modify Application Data; Hide Activities
Attackers could execute unauthorized operating system commands, which could then be used to disable the product, or read and modify data for which the attacker does not have permissions to access directly. Since the targeted application is directly executing the commands instead of the attacker, any malicious activities may appear to come from the application or the application's owner.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.