Git LFS may attempt arbitrary remote commands via crafted SSH URLs in github.com/git-lfs/git-lfs
{
"review_status": "REVIEWED",
"url": "https://pkg.go.dev/vuln/GO-2026-7021"
}{
"imports": [
{
"path": "github.com/git-lfs/git-lfs/v3/ssh",
"symbols": [
"GetLFSExeAndArgs",
"NewSSHTransfer",
"SSHTransfer.Connection",
"SSHTransfer.SetConnectionCount",
"SSHTransfer.SetConnectionCountAtLeast",
"SSHTransfer.Shutdown"
]
},
{
"path": "github.com/git-lfs/git-lfs/v3/lfshttp",
"symbols": [
"Client.NewRequest",
"EndpointFromBareSshUrl",
"EndpointFromSshUrl",
"sshAuthClient.Resolve",
"sshCache.Resolve"
]
}
]
}