Critical Credential Exposure in Git LFS: CVE-2024-53263

git-lfs Updated 02 Oct 2025

Summary

14/01/2025
N/A
Yes i
Unrated
Not published

CVE-2024-53263: Git LFS is a Git extension for versioning large files. Affects git-lfs across 3 version ranges.

< 2.13.2-1+deb11u1 < 0345b6f816e611d050c0df67b61f0022916a1c90 < ea47a34bde1ba1ecf9eb8dc6d44fcf7aef42f5e3

Fixed in 2.13.2-1+deb11u1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Git LFS (Large File Storage) is a Git extension designed to manage large files efficiently within Git repositories. It allows users to version large files while keeping the repository lightweight. Git LFS is widely used in software development environments where large assets, such as images, videos, and datasets, are common. However, a vulnerability has been identified that could expose user credentials when interacting with remote hosts.

Vulnerability Detail

The vulnerability arises when Git LFS requests credentials from Git for a remote host. It improperly passes portions of the host's URL to the git-credential(1) command without validating for embedded line-ending control characters. An attacker can exploit this by inserting URL-encoded control characters, such as line feed (LF) or carriage return (CR), into the URL. This could lead to the retrieval of a user's Git credentials, posing a significant security risk.

How To Fix

Minimum fixed version

2.13.2-1+deb11u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade git-lfs

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no known workarounds for this vulnerability. The recommended action is to upgrade to the patched version as soon as possible.

Conclusion

CVE-2024-53263 represents a critical vulnerability in Git LFS that can expose user credentials through improper URL handling. Users are strongly advised to upgrade to version 3.6.1 or later to mitigate this risk. Continuous monitoring for vulnerabilities is essential to maintain security.

See every vulnerability recorded for git-lfs →

Share this vulnerability

FAQ

CVE-2024-53263 is a vulnerability in Git LFS that allows attackers to potentially retrieve user credentials due to improper handling of URLs.

If you are using a version of Git LFS prior to 3.6.1, your system is vulnerable. You can check your version with the command git lfs version.

If you suspect that your credentials have been compromised, immediately change your Git credentials and upgrade Git LFS to the latest version.

Yes, tools like Vulert can monitor your projects for open-source vulnerabilities in real-time using a manifest file like package-lock.json.

You can find detailed information about CVE-2024-53263 on the official CVE database or by visiting the Git LFS repository.

Related vulnerabilities

Recent vulnerabilities recorded for git-lfs.

How To Fix

Minimum fixed version

2.13.2-1+deb11u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade git-lfs

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback