Git LFSでリダイレクト後にCookieが想定外のホストへ送られる脆弱性
Summary
Git LFSの0.5.0から3.8.1までの版では、HTTPリダイレクトの後に、Cookieが本来の送信先と違うホストへ送られることがあります。Cookieに認証情報などの機密値が含まれていると、その情報が想定外のホストに渡るおそれがあります。修正版の3.8.1で対処されているため、Git LFSを3.8.1以降に更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Git LFSの0.5.0から3.8.1までの版では、HTTPリダイレクトの後に、Cookieが本来の送信先と違うホストへ送られることがあります。Cookieに認証情報などの機密値が含まれていると、その情報が想定外のホストに渡るおそれがあります。修正版の3.8.1で対処されているため、Git LFSを3.8.1以降に更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| git-lfsgit-lfs | — | Not listed |
| Gogithub.com/git-lfs/git-lfs |
0.5.0 – 2.13.3→ Not listed |
Not listed |
| Gogithub.com/git-lfs/git-lfs/v3 |
≥ 3.0.0, < 3.8.1→ 3.8.1 |
3.8.1 |
| Bitnamigit-lfs |
≥ 0.5.0, < 3.8.1→ 3.8.1 |
3.8.1 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-69261 git-lfs Fix available
- Ubuntu UBUNTU-CVE-2026-69261 git-lfs No fixed version in this record
Original description The description as published by the source.
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.
- For reports of additional vulnerabilities, please follow the Git LFS security reporting policy.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- REDHAT Red Hat
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com