CVE-2026-69260Git LFS may attempt arbitrary remote commands via crafted SSH URLs
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.
What to do
Fixed builds are available from Debian, Go: see the table below for the fixed version per release.
Debian, Go, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | git-lfs | Fix pending | UBUNTU-CVE-2026-69260 | |
| Ubuntu 26.04 | git-lfs | Fix pending | UBUNTU-CVE-2026-69260 | |
| Ubuntu 24.04 | git-lfs | Fix pending | UBUNTU-CVE-2026-69260 | |
| Ubuntu 22.04 | git-lfs | Fix pending | UBUNTU-CVE-2026-69260 | |
| Ubuntu 20.04 | git-lfs | Fix pending | UBUNTU-CVE-2026-69260 | |
| Ubuntu 18.04 | git-lfs | Fix pending | UBUNTU-CVE-2026-69260 | |
| Debian 14 | git-lfs | Fixed | 3.8.1-1 | DEBIAN-CVE-2026-69260 |
| Debian 13 | git-lfs | Fix pending | DEBIAN-CVE-2026-69260 | |
| Debian 12 | git-lfs | Fix pending | DEBIAN-CVE-2026-69260 | |
| Red Hat Enterprise Linux 10 | git-lfs | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | git-lfs | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | git-lfs | Fix pending Affected | ||
| Go library | github.com/git-lfs/git-lfs | Fix pending | GHSA-w3f2-pr6x-wwjc | |
| Go library | github.com/git-lfs/git-lfs/v3 | Fixed | 3.8.1 | GHSA-w3f2-pr6x-wwjc |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- git-lfs: affected: >= 0.5.0, <= 2.13.3, >= 3.0.0, < 3.8.1
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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.