Vulnerability in Git-Lfs

CVE-2024-53263

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.

EPSS: 0.011 (61.0th percentile) — read the EPSS interpretation.

Affected products

  • Git-lfs — versions >= 0.1.0, < 3.6.1

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-53263?
CVE-2024-53263 is a vulnerability in Git-Lfs, classified under Improper Neutralization of Special Elements in Output Used by a Downstream Component (Injection). Published 2025-01-14.
Is CVE-2024-53263 known to be exploited?
7 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.