Git LFS: cloning or fetching from a malicious repository can run arbitrary commands through crafted .lfsconfig or submodule settings; all versions before 3.8.1 affected
- Upgrade developer machines, CI runners and build images to Git LFS 3.8.1; check copies bundled with Git installers and IDEs.
- Until then: don't clone untrusted repositories with LFS enabled; for CVE-2026-105802 the advisory's workaround is to disable
fetch.recurseSubmodulesandsubmodule.recurseand not rungit submodule init; for SSH, setlfs.sshTransfer=never.
Sources: Git LFS v3.8.1 release notes (CVE-2026-69260, -69261, -105802, -105803) · GitHub Advisory GHSA-x72p-hmqp-46hw: Git LFS may execute arbitrary commands via crafted Git LFS configurations (CVE-2026-105803) · GitHub Advisory GHSA-xrgv-7vx6-5vx6: Git LFS may execute arbitrary commands via crafted Git configurations (CVE-2026-105802)