{"vuln_id":"GHSA-xrgv-7vx6-5vx6","aliases":["CVE-2026-105802"],"description":"Git LFS may execute arbitrary commands via crafted Git configurations","published_at":"2026-11-20T14:58:53Z","modified_at":"2026-11-20T15:15:03.365358Z","first_seen_at":"2026-11-21T19:15:19.254745Z","severity":"high","severity_source":"ghsa","cvss_score":8.6,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","cwe":["CWE-144"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":null,"epss_percentile":null,"nvd_status":null,"enriched_at":null,"links":{"nvd":"https://github.com/advisories/GHSA-xrgv-7vx6-5vx6"},"matched_alias":null,"items":[{"id":10956,"source":{"id":"osv","name":"OSV.dev"},"title":"GHSA-xrgv-7vx6-5vx6: Git LFS may execute arbitrary commands via crafted Git configurations","summary":"Git LFS may execute arbitrary commands via crafted Git configurations\n\n### Impact\n\nWhen fetching objects from a malicious repository, Git LFS may execute an arbitrary command or binary after incorrectly parsing the Git configuration options defined for a submodule.\n\nGit LFS reads Git configuration options without checking for embedded line-ending control characters.  By inserting control characters such as line feed (LF) into certain values, an attacker may be able to mimic options that cause Git LFS to execute an arbitrary command when fetching or adding objects.\n\nGit LFS has resolved this issue by always using an unambiguous format to read and parse Git configuration options.\n\n### Patches\n\nThis problem exists in all versions since 0.6.0 and is patched in v3.8.1. All users should upgrade to v3.8.1.\n\n### Workarounds\n\nTo work around the problem, users should prevent Git from initializing any submodules by disabling the `fetch.recurseSubmodules` and `submodule.recurse` configuration options and by never running the `git submodule init` command.  Any submodules which have already been initialized in a repository may be deactivated with the `git submodule deinit` command.\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n* For general questions, start a discussion in the Git LFS [discussion forum](https://github.com/git-lfs/git-lfs/discussions).\n* For reports of additional vulnerabilities, please follow the Git LFS [security reporting policy](https://github.com/git-lfs/git-lfs/blob/main/SECURITY.md).\n\nAffected: Go:github.com/git-lfs/git-lfs, Go:github.com/git-lfs/git-lfs/v3\n\nFixed in: 3.8.1\n\nReferences:\nhttps://github.com/git-lfs/git-lfs/security/advisories/GHSA-xrgv-7vx6-5vx6\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-105802\nhttps://github.com/git-lfs/git-lfs/commit/1b2672aaa29016e8004369df1406d2a73057f45f\nhttps://github.com/git-lfs/git-lfs/commit/39b73aa4db821fea6f0da8320128e5e1b919942d\nhttps://github.com/git-lfs/git-lfs\nhttps://github.com/git-lfs/git-lfs/releases/tag/v3.8.1","url":"https://osv.dev/vulnerability/GHSA-xrgv-7vx6-5vx6","published_at":"2026-11-20T14:58:53Z","updated_at":"2026-11-20T15:15:03.365358Z","fetched_at":"2026-11-21T19:15:55.946328Z","severity":"high","cvss_score":8.6,"epss":0.00557,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":"github.com/git-lfs/git-lfs","vuln_id":"CVE-2026-105802","vuln_ids":["CVE-2026-105802","GHSA-XRGV-7VX6-5VX6"],"tags":["osv","go","fix-available"],"cluster_id":2017,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/10956","html":"https://vulnwatch.ve1ve2.com/item/10956"}},{"id":2300,"source":{"id":"ghsa","name":"GitHub Security Advisories"},"title":"GHSA-xrgv-7vx6-5vx6 / CVE-2026-105802: Git LFS may execute arbitrary commands via crafted Git configurations","summary":"Git LFS may execute arbitrary commands via crafted Git configurations\n\n### Impact\n\nWhen fetching objects from a malicious repository, Git LFS may execute an arbitrary command or binary after incorrectly parsing the Git configuration options defined for a submodule.\n\nGit LFS reads Git configuration options without checking for embedded line-ending control characters.  By inserting control characters such as line feed (LF) into certain values, an attacker may be able to mimic options that cause Git LFS to execute an arbitrary command when fetching or adding objects.\n\nGit LFS has resolved this issue by always using an unambiguous format to read and parse Git configuration options.\n\n### Patches\n\nThis problem exists in all versions since 0.6.0 and is patched in v3.8.1. All users should upgrade to v3.8.1.\n\n### Workarounds\n\nTo work around the problem, users should prevent Git from initializing any submodules by disabling the `fetch.recurseSubmodules` and `submodule.recurse` configuration options and by never running the `git submodule init` command.  Any submodules which have already been initialized in a repository may be deactivated with the `git submodule deinit` command.\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n* For general questions, start a discussion in the Git LFS [discussion forum](https://github.com/git-lfs/git-lfs/discussions).\n* For reports of additional vulnerabilities, please follow the Git LFS [security reporting policy](https://github.com/git-lfs/git-lfs/blob/main/SECURITY.md).\n\nAffected packages: go:github.com/git-lfs/git-lfs, go:github.com/git-lfs/git-lfs/v3\nPatched: github.com/git-lfs/git-lfs/v3 3.8.1","url":"https://github.com/advisories/GHSA-xrgv-7vx6-5vx6","published_at":"2026-11-20T14:58:53Z","updated_at":"2026-11-20T14:58:55Z","fetched_at":"2026-11-21T19:15:18.416732Z","severity":"high","cvss_score":8.6,"epss":0.00557,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":"github.com/git-lfs/git-lfs","vuln_id":"CVE-2026-105802","vuln_ids":["CVE-2026-105802","GHSA-XRGV-7VX6-5VX6"],"tags":["ghsa","go","CWE-144"],"cluster_id":2017,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/2300","html":"https://vulnwatch.ve1ve2.com/item/2300"}},{"id":8971,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-105802: Git LFS is a Git extension for versioning large files. From 0.6.0 until 3.8.1, Git LFS reads Git configuration options defined for a submodule without checking…","summary":"Git LFS is a Git extension for versioning large files. From 0.6.0 until 3.8.1, Git LFS reads Git configuration options defined for a submodule without checking certain values for embedded line-ending control characters. A malicious repository can insert control characters such as line feed (LF) into those values to mimic options that cause Git LFS to execute an attacker-controlled command or binary while fetching or adding objects. This issue is fixed in version 3.8.1.\n\nReferences:\nhttps://github.com/git-lfs/git-lfs/commit/1b2672aaa29016e8004369df1406d2a73057f45f\nhttps://github.com/git-lfs/git-lfs/commit/39b73aa4db821fea6f0da8320128e5e1b919942d\nhttps://github.com/git-lfs/git-lfs/releases/tag/v3.8.1\nhttps://github.com/git-lfs/git-lfs/security/advisories/GHSA-xrgv-7vx6-5vx6","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-105802","published_at":"2026-11-19T17:17:52.420000Z","updated_at":"2026-11-20T22:17:48.690000Z","fetched_at":"2026-11-21T19:15:31.484635Z","severity":"high","cvss_score":8.6,"epss":0.00557,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2026-105802","vuln_ids":["CVE-2026-105802","GHSA-XRGV-7VX6-5VX6"],"tags":["CWE-144"],"cluster_id":2018,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/8971","html":"https://vulnwatch.ve1ve2.com/item/8971"}}]}