CVE-2024-53263git-lfs
High 8.5 No auth needed
Follow: this CVE · git-lfs · git-lfs We alert you by email or Slack (account required).
- Priority
- 66
- CVSS 4.0
- 8.5
- EPSS
- 1.1% probability of exploitation in 30 days · percentile 67
- Auth required
- No
- Published
- Jan 14, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-74
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
Git LFS is a Git extension for versioning large files. When Git LFS requests credentials from Git for a remote host, it passes portions of the host's URL to the `git-credential(1)` command without checking for embedded line-ending control characters, and then sends any credentials it receives back from the Git credential helper to the remote host. By inserting URL-encoded control characters such as line feed (LF) or carriage return (CR) characters into the URL, an attacker may be able to retrieve a user's Git credentials. This problem exists in all previous versions and is patched in v3.6.1. All users should upgrade to v3.6.1. There are no workarounds known at this time.
What to do
- Apply the vendor's security update for git-lfs.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/git-lfs/git-lfs |
≥ 0.1.0 ≤ 3.0.0 |
no fixed version | — |
| Go | github.com/git-lfs/git-lfs |
≥ 0.1.0 |
no fixed version | — |
| Go | github.com/git-lfs/git-lfs/v3 |
≥ 3.0.0 < 3.6.1 |
3.6.1 |
go get github.com/git-lfs/git-lfs/v3@v3.6.1 |
| Go | github.com/git-lfs/git-lfs/v3 |
≥ 3.0.0 < 3.6.1 |
3.6.1 |
go get github.com/git-lfs/git-lfs/v3@v3.6.1 |
Per OSV / GitHub Advisories (GHSA-q6r2-x2cc-vrp7, GO-2025-3390). Check the version in your lockfile before upgrading.
Affected products
- git-lfs · git-lfs
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.