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
- Upgrade Git LFS to version 3.8.1
- Set the lfs.sshTransfer Git configuration option to never
How to check your project
- Run `git lfs version` and verify the version is not 0.5.0‑2.13.3 or 3.0.0‑3.8.0
- Check the Go module dependency list for github.com/git-lfs/git-lfs or github.com/git-lfs/git-lfs/v3 at a vulnerable version
Automated analysis of the published advisory data, generated 2026-11-27. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| 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 vector | Network |
|---|---|
| Attack complexity | Low |
| Attack requirements | Present |
| Privileges required | None |
| User interaction | Passive |
| 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
References
- WEB https://github.com/git-lfs/git-lfs/security/advisories/GHSA-w3f2-pr6x-wwjc
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-69260
- WEB https://github.com/git-lfs/git-lfs/commit/091a95a796739bd0b8f59d8deeea79a452959508
- WEB https://github.com/git-lfs/git-lfs/commit/92d81117d465469a61dcb78546dd3d88806b25fd
- WEB https://github.com/git-lfs/git-lfs/commit/af5f4579ac1155734bb08f00ca92b9e89f8b51df
- WEB https://github.com/git-lfs/git-lfs/commit/d90ed66f2d465f8b3ba5fd6e4ac3c711c9e0a2d6
- PACKAGE https://github.com/git-lfs/git-lfs
- WEB https://github.com/git-lfs/git-lfs/releases/tag/v3.8.1
Source records: GHSA-w3f2-pr6x-wwjc, GO-2026-7021 (OSV.dev) · EPSS by FIRST, 2026-11-27.