Git LFS may leak HTTP headers after redirections
- State
- Published
- Severity
- 7.6 High
- Published
- Nov 19, 2026
- Updated
- Nov 19, 2026
- Reserved
- Aug 3, 2026
Description
Git LFS is a Git extension for versioning large files. From 0.5.0 until 3.8.1, Git LFS may forward a Cookie header after an HTTP redirect to a host other than the one for which the header was intended. That unintended host can therefore receive cookies containing credentials or other confidential values. Authorization headers are never forwarded to inappropriate hosts and are not the affected secret in this vulnerability. This issue is fixed in version 3.8.1.
| Product | Versions |
|---|---|
| git-lfs git-lfs | >= 0.5.0, <= 2.13.3 Affected>= 3.0.0, < 3.8.1 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 7.6 High | GitHub_M |
Weaknesses
- CWE-522 Insufficiently Protected Credentials
References
- https://github.com/git-lfs/git-lfs/security/advisories/GHSA-x7xj-4j4f-88xr
- https://github.com/git-lfs/git-lfs/commit/12c92e05b3433494d4b8695943e7e230744d77d9
- https://github.com/git-lfs/git-lfs/commit/256d371024e6d2cf19efe675d8b9ad089785d0a1
- https://github.com/git-lfs/git-lfs/commit/537203a1fa08fdde4c16288fb039174ff0e692bb
- https://github.com/git-lfs/git-lfs/commit/d65324a7d5104c7a5dcb8c4959933695c8bc10fa
- https://github.com/git-lfs/git-lfs/releases/tag/v3.8.1
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.