CVE-2026-69261: Github.com/git lfs/git lfs Git LFS May Leak HTTP Vulnerability

HIGH
Advisory Identifier: GHSA-x7xj-4j4f-88xr
CWE-522
Published
Advisory Summary

CVE-2026-69261 is a HIGH git lfs may leak http vulnerability (CWE-522: Insufficiently Protected Credentials) affecting Github.com/git lfs/git lfs libraries in the Go ecosystem. The issue involves git lfs may leak http headers after redirections. Remediation is available by upgrading affected packages to version 3.8.1.

CVE-2026-69261 at a Glance

CVE Identifier CVE-2026-69261
GHSA Identifier GHSA-x7xj-4j4f-88xr
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-522: Insufficiently Protected Credentials
Affected Product Github.com/git lfs/git lfs
Package Ecosystem Go
Published Date
Last Updated

How to Fix CVE-2026-69261

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.

github.com/git-lfs/git-lfs fixed: Latest secure release
Upgrade github.com/git-lfs/git-lfs to Latest secure release
github.com/git-lfs/git-lfs/v3 fixed: 3.8.1
Upgrade github.com/git-lfs/git-lfs/v3 to 3.8.1
Verify Direct and Transitive Dependencies

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-69261, 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-522: Insufficiently Protected Credentials, where the product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval. 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

### Impact After receiving an HTTP redirection, Git LFS may forward certain HTTP headers to a host other than the one for which they were intended. While `Authorization` headers are never forwarded to inappropriate hosts, `Cookie` headers may be forwarded incorrectly. Git LFS has resolved this issue by never forwarding `Cookie` headers to hosts other than the ones for which they were intended. In particular, after an HTTP redirection is received to a URL with a different scheme, host, or port than found in the URL of the current request, any `Authorization` and `Cookie` headers from the current request will not be sent in the redirected request. ### Patches This problem exists in all versions since 0.5.0 and is patched in v3.8.1. All users should upgrade to v3.8.1. ### Workarounds No single workaround exists. As far as possible, users and administrators should review their systems to confirm no unnecessary HTTP redirections are performed, and that HTTP headers other than `Authorization` do not contain privileged or confidential information. ### For more information If you have any questions or comments about this advisory: * For general questions, start a discussion in the Git LFS [discussion forum](https://github.com/git-lfs/git-lfs/discussions). * For reports of additional vulnerabilities, please follow the Git LFS [security reporting policy](https://github.com/git-lfs/git-lfs/blob/main/SECURITY.md).

CVE-2026-69261 Affected Github.com/git lfs/git lfs Versions

2 component(s)
Fixed Versions:
3.8.1
Product / Package Ecosystem Affected Versions Fixed Version
github.com/git-lfs/git-lfs
Go
≥ 0.5.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-69261?
CVE-2026-69261 is a security vulnerability in Github.com/git lfs/git lfs involving Git LFS may leak HTTP headers after redirections under CWE-522: Insufficiently Protected Credentials.
Which Github.com/git lfs/git lfs versions are affected?
Affected versions include releases prior to 3.8.1 across affected packages: github.com/git-lfs/git-lfs, github.com/git-lfs/git-lfs/v3.
What version fixes CVE-2026-69261?
Upgrading to 3.8.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/git-lfs/git-lfs affected?
Yes, github.com/git-lfs/git-lfs is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
Is github.com/git-lfs/git-lfs/v3 affected?
Yes, github.com/git-lfs/git-lfs/v3 is affected in releases prior to 3.8.1. Upgrade your dependency to 3.8.1 or later.
What CWE is associated with CVE-2026-69261?
CVE-2026-69261 is classified under CWE-522: Insufficiently Protected Credentials (The product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval.).
How can I check Go dependencies for CVE-2026-69261?
Run the dependency tree command: 'inspect dependencies for github.com/git-lfs/git-lfs'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-x7xj-4j4f-88xr",
  "modified" : "2026-11-20T14:49:47Z",
  "published" : "2026-11-20T14:49:47Z",
  "aliases" : [ "CVE-2026-69261" ],
  "summary" : "Git LFS may leak HTTP headers after redirections",
  "details" : "### Impact\n\nAfter receiving an HTTP redirection, Git LFS may forward certain HTTP headers to a host other than the one for which they were intended.  While `Authorization` headers are never forwarded to inappropriate hosts, `Cookie` headers may be forwarded incorrectly.\n\nGit LFS has resolved this issue by never forwarding `Cookie` headers to hosts other than the ones for which they were intended.  In particular, after an HTTP redirection is received to a URL with a different scheme, host, or port than found in the URL of the current request, any `Authorization` and `Cookie` headers from the current request will not be sent in the redirected request.\n\n### Patches\n\nThis problem exists in all versions since 0.5.0 and is patched in v3.8.1. All users should upgrade to v3.8.1.\n\n### Workarounds\n\nNo single workaround exists.  As far as possible, users and administrators should review their systems to confirm no unnecessary HTTP redirections are performed, and that HTTP headers other than `Authorization` do not contain privileged or confidential information.\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:H/AT:P/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" : "0.5.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-x7xj-4j4f-88xr"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-69261"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/git-lfs/git-lfs/commit/12c92e05b3433494d4b8695943e7e230744d77d9"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/git-lfs/git-lfs/commit/256d371024e6d2cf19efe675d8b9ad089785d0a1"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/git-lfs/git-lfs/commit/537203a1fa08fdde4c16288fb039174ff0e692bb"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/git-lfs/git-lfs/commit/d65324a7d5104c7a5dcb8c4959933695c8bc10fa"
  }, {
    "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-522" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-11-20T14:49:47Z",
    "nvd_published_at" : "2026-11-19T17:18:58Z"
  }
}