Go Vulnerability Database
GO-2026-7021
Git LFS may attempt arbitrary remote commands via crafted SSH URLs in github.com/git-lfs/git-lfs
Details
Git LFS may attempt arbitrary remote commands via crafted SSH URLs in github.com/git-lfs/git-lfs
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/git-lfs/git-lfs | From 0.5.0, no fix listed |
| Go | github.com/git-lfs/git-lfs/v3 | From 3.0.0 before 3.8.1 (fixed in 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