Git LFS permits exfiltration of credentials via crafted HTTP URLs
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Active
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| git-lfs | git-lfs | 0.1.0 to before 3.6.1 | 3.6.1 | Patch available | CNA |
| — | github.com/git-lfs/git-lfs (Go) | 0.1.0 – 3.0.0 | — | No fix listed | GHSA-q6r2-x2cc-vrp7 |
| — | github.com/git-lfs/git-lfs/v3 (Go) | 3.0.0 to before 3.6.1 | 3.6.1 | Patch available | GHSA-q6r2-x2cc-vrp7 |
- git-lfs Vendorgit-lfs Affected 0.1.0 to before 3.6.1 Fixed in 3.6.1 Patch available CNA
- github.com/git-lfs/git-lfs (Go) Vendor— Affected 0.1.0 – 3.0.0 Fixed in — No fix listed GHSA-q6r2-x2cc-vrp7
- github.com/git-lfs/git-lfs/v3 (Go) Vendor— Affected 3.0.0 to before 3.6.1 Fixed in 3.6.1 Patch available GHSA-q6r2-x2cc-vrp7
Remediation
- Fix · CNA git-lfs (git-lfs) Fixed in 3.6.1
- Fix · GHSA-q6r2-x2cc-vrp7 github.com/git-lfs/git-lfs/v3 (Go) Fixed in 3.6.1 Advisory →
Red Hat 8 advisories
- RHSA-2025:0845 Released 2025-01-30 · Red Hat rating Importantgit-lfs security update
- Red Hat Enterprise Linux AppStream (v. 8) git-lfs-3.4.1-4.el8_10
- RHSA-2025:0825 Released 2025-01-30 · Red Hat rating Importantgit-lfs security update
- Red Hat Enterprise Linux AppStream AUS (v.8.4) git-lfs-2.13.3-3.el8_4.1
- Red Hat Enterprise Linux AppStream E4S (v.8.4) git-lfs-2.13.3-3.el8_4.1
- Red Hat Enterprise Linux AppStream TUS (v.8.4) git-lfs-2.13.3-3.el8_4.1
- RHSA-2025:0765 Released 2025-01-28 · Red Hat rating Importantgit-lfs security update
- Red Hat Enterprise Linux AppStream AUS (v.8.6) git-lfs-2.13.3-3.el8_6.3
- Red Hat Enterprise Linux AppStream E4S (v.8.6) git-lfs-2.13.3-3.el8_6.3
- Red Hat Enterprise Linux AppStream TUS (v.8.6) git-lfs-2.13.3-3.el8_6.3
Show 5 more Red Hat advisories
- RHSA-2025:0762 Released 2025-01-28 · Red Hat rating Importantgit-lfs security update
- Red Hat Enterprise Linux AppStream EUS (v.8.8) git-lfs-3.2.0-2.el8_8.3
- RHSA-2025:0759 Released 2025-01-28 · Red Hat rating Importantgit-lfs security update
- Red Hat Enterprise Linux AppStream EUS (v.9.4) git-lfs-3.4.1-4.el9_4.1
- RHSA-2025:0758 Released 2025-01-28 · Red Hat rating Importantgit-lfs security update
- Red Hat Enterprise Linux AppStream E4S (v.9.0) git-lfs-2.13.3-5.el9_0.3
- RHSA-2025:0757 Released 2025-01-28 · Red Hat rating Importantgit-lfs security update
- Red Hat Enterprise Linux AppStream EUS (v.9.2) git-lfs-3.2.0-2.el9_2.2
- RHSA-2025:0673 Released 2025-01-23 · Red Hat rating Importantgit-lfs security update
- Red Hat Enterprise Linux AppStream (v. 9) git-lfs-3.4.1-4.el9_5
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2025:0845 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2025:0673 |
| Red Hat Enterprise Linux AppStream AUS (v.8.4) | Fixed | RHSA-2025:0825 |
| Red Hat Enterprise Linux AppStream AUS (v.8.6) | Fixed | RHSA-2025:0765 |
| Red Hat Enterprise Linux AppStream E4S (v.8.4) | Fixed | RHSA-2025:0825 |
| Red Hat Enterprise Linux AppStream E4S (v.8.6) | Fixed | RHSA-2025:0765 |
| Red Hat Enterprise Linux AppStream E4S (v.9.0) | Fixed | RHSA-2025:0758 |
| Red Hat Enterprise Linux AppStream EUS (v.8.8) | Fixed | RHSA-2025:0762 |
| Red Hat Enterprise Linux AppStream EUS (v.9.2) | Fixed | RHSA-2025:0757 |
| Red Hat Enterprise Linux AppStream EUS (v.9.4) | Fixed | RHSA-2025:0759 |
| Red Hat Enterprise Linux AppStream TUS (v.8.4) | Fixed | RHSA-2025:0825 |
| Red Hat Enterprise Linux AppStream TUS (v.8.6) | Fixed | RHSA-2025:0765 |
Not affected: 1 product
- Red Hat Enterprise Linux 10
Timeline
- 2026-10-02 Threatist record created from CVE-2024-53263
- 2026-10-03 Alias added: GHSA-q6r2-x2cc-vrp7
References
Other 6
- https://github.com/git-lfs/git-lfs/security/advisories/GHSA-q6r2-x2cc-vrp7
- https://github.com/git-lfs/git-lfs/commit/0345b6f816e611d050c0df67b61f0022916a1c90
- https://github.com/git-lfs/git-lfs/releases/tag/v3.6.1
- https://github.com/git-lfs/git-lfs
- https://lists.debian.org/debian-lts-announce/2025/01/msg00022.html
- https://pkg.go.dev/vuln/GO-2025-3390
More git-lfs vulnerabilities
- TI-2025-19562 Git LFS may write to arbitrary files via crafted symlinks CVSS 4.0HIGH 8.6
Sources
- CVE-2024-53263 · CVE Program
- CVE-2024-53263 · NVD
- FIRST EPSS
- GHSA-q6r2-x2cc-vrp7 · GitHub Advisory Database · CC BY 4.0
- CVE-2024-53263 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences