Update Git LFS to 3.8.1: crafted configurations can execute commands
A vulnerability in Git LFS allows malicious repositories to execute arbitrary commands or binaries when fetching objects if configuration options in an .lfsconfig file are improperly restricted. CVE-2026-105803 affects versions from 1.3.0 through 2.13.3 and versions 3.0.0 up to 3.8.1, with version 3.8.1 providing the patch released on November 20, 2026. The vulnerability stems from insufficient filtering of configuration keys containing extra components, which lets attackers mimic custom transfer commands.
What changed
Git LFS incorrectly filters configuration options defined in repository .lfsconfig files when keys contain certain additional components. This flaw enables an attacker to configure Git LFS to use a custom command for transferring objects during repository fetches. The issue is tracked as CVE-2026-105803 with a high severity rating. The maintainers resolved this in version 3.8.1 by correctly restricting custom object transfer configuration to local Git configuration files.
Who should care
If you run environments using vulnerable Git LFS releases—specifically versions from 1.3.0 up to 2.13.3, or versions from 3.0.0 prior to 3.8.1—and fetch objects from untrusted or external repositories, your systems are exposed to arbitrary command execution.
What to do
- Upgrade Git LFS to version 3.8.1 or later where patches are available.
- Review systems running vulnerable packages between versions 1.3.0 and 2.13.3, as no patched version is stated for that branch in the advisory.
- Avoid cloning repositories from untrusted sources, or disable Git LFS entirely if upgrading is not immediately possible, as no single workaround exists.