Skip to content
OpenAdvisories
High · 7.6 Public exploit CVE-2026-69260 BIT-git-lfs-2026-69260EUVD-2026-130396GHSA-w3f2-pr6x-wwjcGO-2026-7021

Git LFS may attempt arbitrary remote commands via crafted SSH URLs

Published Nov 19, 2026 · Updated Nov 19, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
Debian 14 git-lfs 3.8.1-1 —
Debian 13 git-lfs No fix yet —
Debian 12 git-lfs No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 git-lfs No fix yet —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
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 —
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 git-lfs 3.8.1-0.2.hum1 RHSA-2026:91645
ReleasePackageFixed inAdvisory
Alpine v3.25 git-lfs 3.8.1-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 git-lfs 3.8.1-1.amzn2023 ALAS2023-2026-3526

Azure Linux

ReleasePackageFixed inAdvisory
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.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

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

EcosystemPackageAffectedFixedRecord
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

References