← Vulnerabilities

HighAdvisoryGoGitHub

Git LFS may attempt arbitrary remote commands via crafted SSH URLs

Affected

PackageAffected versionsFixed in
go:github.com/git-lfs/git-lfs>= 0.5.0, <= 2.13.3No fix yet
go:github.com/git-lfs/git-lfs/v3>= 3.0.0, < 3.8.13.8.1

When Git LFS makes object transfer or authentication requests to a remote host via SSH, it passes the path component of the remote's SSH URL as part of a command to be executed, but does not properly format the URL's path component as a single argument. By inserting shell meta-characters into the SSH URL, an attacker may be able to execute arbitrary commands on the remote host, if the host passes the commands to a shell without sanitizing them first. Git LFS has resolved this problem by fully q…

Read on GitHub Advisory Database

On 11/20/2026, 11:47 PM, GitHub Advisory Database published "Git LFS may attempt arbitrary remote commands via crafted SSH URLs" (type: Advisory). Severity is "High" (high). Related technologies: Go, GitHub. CVE: CVE-2026-69260.