CVE-2026-69260
Git LFS may attempt arbitrary remote commands via crafted SSH URLs
- CVSS
- 7.6
- EPSS
- 0.87% (p60)
- Published
- 2026-11-19
- Age
- 15d old
- Modified
- 2026-11-20
- Product
- git-lfs git-lfs
- Aliases
- GHSA-w3f2-pr6x-wwjc
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
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.
Fixed in
3.8.1
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Go | github.com/git-lfs/git-lfs | >= 0.5.0, <= 2.13.3 | — |
| Go | github.com/git-lfs/git-lfs/v3 | >= 3.0.0, < 3.8.1 | 3.8.1 |
| Go | github.com/git-lfs/git-lfs/v3 | >=3.0.0, <3.8.1 | 3.8.1 |
Sources
- NVD · first seen 15d ago · NVD terms of use
- OSV · first seen 15d ago · CC-BY 4.0
- GitHub Advisory Database · first seen 14d ago · CC-BY 4.0
- CVE List · first seen 15d ago · CVE Terms of Use
References
- https://github.com/git-lfs/git-lfs/security/advisories/GHSA-w3f2-pr6x-wwjc x_refsource_CONFIRM
- https://github.com/git-lfs/git-lfs/commit/091a95a796739bd0b8f59d8deeea79a452959508 x_refsource_MISC
- https://github.com/git-lfs/git-lfs/commit/92d81117d465469a61dcb78546dd3d88806b25fd x_refsource_MISC
- https://github.com/git-lfs/git-lfs/commit/af5f4579ac1155734bb08f00ca92b9e89f8b51df x_refsource_MISC
- https://github.com/git-lfs/git-lfs/commit/d90ed66f2d465f8b3ba5fd6e4ac3c711c9e0a2d6 x_refsource_MISC
- https://github.com/git-lfs/git-lfs/releases/tag/v3.8.1 x_refsource_MISC
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/69xxx/CVE-2026-69260.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-69260 advisory
- https://github.com/advisories/GHSA-w3f2-pr6x-wwjc other
- https://github.com/git-lfs/git-lfs package