CVE-2026-105803: Github.com/git lfs/git lfs Git LFS May Execute Arbitrary Vulnerability
HIGHCVE-2026-105803 is a HIGH git lfs may execute arbitrary vulnerability (CWE-1286: Improper Validation of Syntactic Correctness of Input) affecting Github.com/git lfs/git lfs libraries in the Go ecosystem. The issue involves git lfs may execute arbitrary commands via crafted git lfs configurations. Remediation is available by upgrading affected packages to version 3.8.1.
CVE-2026-105803 at a Glance
How to Fix CVE-2026-105803
To remediate this vulnerability, upgrade all affected Github.com/git lfs/git lfs dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/git-lfs/git-lfs to Latest secure release
Upgrade github.com/git-lfs/git-lfs/v3 to 3.8.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/git-lfs/git-lfs
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-105803, inspect your project dependencies for Github.com/git lfs/git lfs:
inspect dependencies for github.com/git-lfs/git-lfs
Analyze the terminal output to locate any version of Github.com/git lfs/git lfs in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.8.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-1286: Improper Validation of Syntactic Correctness of Input, where the product receives input that is expected to be well-formed - i.e., to comply with a certain syntax - but it does not validate or incorrectly validates that the input complies with the syntax. In Github.com/git lfs/git lfs, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-105803 Affected Github.com/git lfs/git lfs Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/git-lfs/git-lfs
|
Go |
≥ 1.3.0
≤ 2.13.3
|
|
|
github.com/git-lfs/git-lfs/v3
|
Go |
≥ 3.0.0
< 3.8.1
|
3.8.1
|
References
Frequently Asked Questions
What is CVE-2026-105803?
Which Github.com/git lfs/git lfs versions are affected?
What version fixes CVE-2026-105803?
Is github.com/git-lfs/git-lfs affected?
Is github.com/git-lfs/git-lfs/v3 affected?
What CWE is associated with CVE-2026-105803?
How can I check Go dependencies for CVE-2026-105803?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-x72p-hmqp-46hw",
"modified" : "2026-11-20T14:59:41Z",
"published" : "2026-11-20T14:59:40Z",
"aliases" : [ "CVE-2026-105803" ],
"summary" : "Git LFS may execute arbitrary commands via crafted Git LFS configurations",
"details" : "### Impact\n\nWhen fetching objects from a malicious repository, Git LFS may execute an arbitrary command or binary after failing to sufficiently restrict the set of configuration options defined in an `.lfsconfig` file in the repository.\n\nGit LFS permits a limited set of configuration options to be defined in an `.lfsconfig` file at the root of a Git repository, but does not filter these options correctly if their keys contain certain additional components, which allows an attacker to mimic options that configure Git LFS to use a custom command to transfer objects. An attacker can then provide an arbitrary command which Git LFS will invoke when fetching objects.\n\nGit LFS has resolved this issue by correctly restricting the configuration of custom object transfer commands to local Git configuration files.\n\n### Patches\n\nThis problem exists in all versions since 1.3.0 and is patched in v3.8.1. All users should upgrade to v3.8.1.\n\n### Workarounds\n\nNo single workaround exists other than to disable Git LFS entirely. As far as possible, users and administrators should avoid cloning repositories from untrusted sources.\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).",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/git-lfs/git-lfs"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.3.0"
}, {
"last_affected" : "2.13.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/git-lfs/git-lfs/v3"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.0"
}, {
"fixed" : "3.8.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/git-lfs/git-lfs/security/advisories/GHSA-x72p-hmqp-46hw"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-105803"
}, {
"type" : "WEB",
"url" : "https://github.com/git-lfs/git-lfs/commit/1ecddd431e63c551ae11c153df0e07f37d2b44ef"
}, {
"type" : "WEB",
"url" : "https://github.com/git-lfs/git-lfs/commit/45c0c51c8a2d41a7d361b79f3d37f4fec46acc68"
}, {
"type" : "WEB",
"url" : "https://github.com/git-lfs/git-lfs/commit/5182fdeccb834ed887746a557d0c736013704f39"
}, {
"type" : "WEB",
"url" : "https://github.com/git-lfs/git-lfs/commit/62a727e7af1b0de0237c4d288ec0e977613df064"
}, {
"type" : "WEB",
"url" : "https://github.com/git-lfs/git-lfs/commit/c5b3bff4e863022057557ad4be2ce5b5922b1a84"
}, {
"type" : "WEB",
"url" : "https://github.com/git-lfs/git-lfs/commit/dcfb09ff56eec5825f3e95dbefbfdd520ec76d44"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/git-lfs/git-lfs"
}, {
"type" : "WEB",
"url" : "https://github.com/git-lfs/git-lfs/releases/tag/v3.8.1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1286", "CWE-777" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-11-20T14:59:40Z",
"nvd_published_at" : "2026-11-19T17:17:52Z"
}
}