Command Execution Vulnerability in Git LFS by GitHub
CVE-2026-69260
7.6HIGH
What is CVE-2026-69260?
Git LFS, an extension for versioning large files, has a vulnerability in the way it formats SSH URL paths for remote object-transfer and authentication commands. Versions 0.5.0 through 3.8.1 fail to treat the SSH URL path as a single argument, allowing shell metacharacters within the SSH URL to escape and lead to arbitrary command execution. Moreover, the extension mishandles HTTPS URL encoding when configured with an SSH URL that does not support Git LFS commands, potentially allowing an attacker to exploit the system through inadequate sanitization processes. This security issue has been addressed in version 3.8.1.
Affected Version(s)
git-lfs >= 0.5.0, <= 2.13.3 <= 0.5.0, 2.13.3
git-lfs >= 3.0.0, < 3.8.1 < 3.0.0, 3.8.1
