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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| git-lfs | git-lfs | >= 0.5.0, <= 2.13.3, >= 3.0.0, < 3.8.1 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | git-lfs | 3.8.1-1 | — |
| Debian 13 | git-lfs | No fix yet | — |
| Debian 12 | git-lfs | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | git-lfs | No fix yet | — |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 26.04 LTS | git-lfs | No fix yet | — |
| Ubuntu Pro 24.04 LTS | git-lfs | No fix yet | — |
| Ubuntu Pro 22.04 LTS | git-lfs | No fix yet | — |
| Ubuntu Pro 20.04 LTS | git-lfs | No fix yet | — |
| Ubuntu Pro 18.04 LTS | git-lfs | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Hardened Images 1 | git-lfs | 3.8.1-0.2.hum1 | RHSA-2026:91645 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.25 | git-lfs | 3.8.1-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | git-lfs | 3.8.1-1.amzn2023 | ALAS2023-2026-3526 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | git-lfs | No fix yet | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
googlesky/CVE-2026-69260 ★ 0 · Nov 20, 2026
Git LFS <=3.8.0: ssh.GetLFSExeAndArgs interpolates the .lfsconfig SSH URL path unquoted into the remote command — shell metacharacters inject statements on the remote host (RCE). Real function v3.8.0…
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/git-lfs/git-lfs | >= 0.5.0, <= 2.13.3 | — | GHSA-w3f2-pr6x-wwjc |
| Go | github.com/git-lfs/git-lfs | >= 0.5.0 | — | GO-2026-7021 |
| Go | github.com/git-lfs/git-lfs/v3 | >= 3.0.0, < 3.8.1 | 3.8.1 | GHSA-w3f2-pr6x-wwjc |
Advisories 2
- RHSA-2026:91645 Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update Red Hat Security Advisories (RHSA) · Dec 5, 2026
- ALAS2023-2026-3526 Important: git-lfs security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Nov 25, 2026
References
- https://github.com/git-lfs/git-lfs/security/advisories/GHSA-w3f2-pr6x-wwjc
- https://github.com/git-lfs/git-lfs/commit/091a95a796739bd0b8f59d8deeea79a452959508
- https://github.com/git-lfs/git-lfs/commit/92d81117d465469a61dcb78546dd3d88806b25fd
- https://github.com/git-lfs/git-lfs/commit/af5f4579ac1155734bb08f00ca92b9e89f8b51df
- https://github.com/git-lfs/git-lfs/commit/d90ed66f2d465f8b3ba5fd6e4ac3c711c9e0a2d6
- https://github.com/git-lfs/git-lfs/releases/tag/v3.8.1