CVE-2024-53263Git LFS permits exfiltration of credentials via crafted HTTP URLs
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
Fixed builds are available from AlmaLinux, Debian, Go, Red Hat, Rocky Linux: see the table below for the fixed version per release.
Go, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 25.10 | git-lfs | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | git-lfs | Fix pending | 3.4.1-1ubuntu0.3+esm2 (Ubuntu Pro) | UBUNTU-CVE-2024-53263 |
| Ubuntu 22.04 | git-lfs | Fix pending | 3.0.2-1ubuntu0.3+esm2 (Ubuntu Pro) | UBUNTU-CVE-2024-53263 |
| Ubuntu 20.04 | git-lfs | Fix pending | 2.9.2-1ubuntu0.1~esm2 (Ubuntu Pro) | UBUNTU-CVE-2024-53263 |
| Ubuntu 18.04 | git-lfs | Fix pending | 2.3.4-1ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2024-53263 |
| Debian 14 | git-lfs | Fixed | 3.5.0-2 | DEBIAN-CVE-2024-53263 |
| Debian 13 | git-lfs | Fixed | 3.5.0-2 | DEBIAN-CVE-2024-53263 |
| Debian 12 | git-lfs | Fixed | 3.3.0-1+deb12u1 | DEBIAN-CVE-2024-53263 |
| Red Hat Enterprise Linux 10 | git-lfs | Not affected | ||
| Red Hat Enterprise Linux 9 | git-lfs | Fixed | 0:3.4.1-4.el9_5 | RHSA-2025:0673 |
| Red Hat Enterprise Linux 8 | git-lfs | Fixed | 0:3.4.1-4.el8_10 | RHSA-2025:0845 |
| AlmaLinux 9 | git-lfs | Fixed | 3.4.1-4.el9_5 | ALSA-2025:0673 |
| AlmaLinux 8 | git-lfs | Fixed | 3.4.1-4.el8_10 | ALSA-2025:0845 |
| Rocky Linux 9 | git-lfs | Fixed | 0:3.4.1-4.el9_4 | RLSA-2025:0673 |
| Rocky Linux 8 | git-lfs | Fixed | 0:3.4.1-4.el8_10 | RLSA-2025:0845 |
| Go library | github.com/git-lfs/git-lfs | Fix pending | GHSA-q6r2-x2cc-vrp7 | |
| Go library | github.com/git-lfs/git-lfs/v3 | Fixed | 3.6.1 | GO-2025-3390 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- git-lfs: affected: >= 0.1.0, < 3.6.1
References
- 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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.