# GO-2026-7022: Git LFS may execute arbitrary commands via crafted Git LFS configurations in github.com/git-lfs/git-lfs

- Database: Go
- Published: 2026-11-23
- Modified: 2026-11-23

## Tracked as

- [CVE-2026-105803](https://cve.now/CVE-2026-105803.md): Git LFS command execution in .lfsconfig file handling

## Also published as

- [GHSA-X72P-HMQP-46HW](https://cve.now/GHSA-X72P-HMQP-46HW.md) (GitHub)

## Affected versions

- github.com/git-lfs/git-lfs (Go): from 1.3.0
- github.com/git-lfs/git-lfs/v3 (Go): from 3.0.0, fixed in 3.8.1

## Description

Git LFS may execute arbitrary commands via crafted Git LFS configurations in github.com/git-lfs/git-lfs

## References

- https://github.com/git-lfs/git-lfs/security/advisories/GHSA-x72p-hmqp-46hw
- https://github.com/git-lfs/git-lfs/commit/1ecddd431e63c551ae11c153df0e07f37d2b44ef
- https://github.com/git-lfs/git-lfs/commit/45c0c51c8a2d41a7d361b79f3d37f4fec46acc68
- https://github.com/git-lfs/git-lfs/commit/5182fdeccb834ed887746a557d0c736013704f39
- https://github.com/git-lfs/git-lfs/commit/62a727e7af1b0de0237c4d288ec0e977613df064
- https://github.com/git-lfs/git-lfs/commit/c5b3bff4e863022057557ad4be2ce5b5922b1a84
- https://github.com/git-lfs/git-lfs/commit/dcfb09ff56eec5825f3e95dbefbfdd520ec76d44
- https://github.com/git-lfs/git-lfs/releases/tag/v3.8.1

Page: https://cve.now/GO-2026-7022

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
