CVE-2025-48384

Description

Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. When reading a config value, Git strips any trailing carriage return and line feed (CRLF). When writing a config entry, values with a trailing CR are not quoted, causing the CR to be lost when the config is later read. When initializing a submodule, if the submodule path contains a trailing CR, the altered path is read resulting in the submodule being checked out to an incorrect location. If a symlink exists that points the altered path to the submodule hooks directory, and the submodule contains an executable post-checkout hook, the script may be unintentionally executed after checkout. This vulnerability is fixed in v2.43.7, v2.44.4, v2.45.4, v2.46.4, v2.47.3, v2.48.2, v2.49.1, and v2.50.1.

Severity
HIGH
CVSS v3
8.1
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H · source cna
Exploit chance (EPSS)
4.484%
chance of exploitation in the next 30 days
higher than 91.6% of scored CVEs · 2026-11-17
CISA KEV
Listed
added 2025-08-25
Public exploit code
None public
Attackers are using this, but no public exploit code was found in these sources.
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA Known Exploited Vulnerabilities entry

Vulnerability nameGit Link Following Vulnerability
Vendor / productGit / Git
Date added2025-08-25
Federal remediation due date2025-09-15
Required actionApply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Known ransomware campaign useUnknown

CISA SSVC decision points

Exploitationactive
Automatableno
Technical impacttotal
Scored2025-08-26

Timeline

  1. 2025-07-08Published by the CNA18:23 UTC
  2. 2025-08-25Added to the CISA KEV catalog48 days after publication
  3. 2025-08-26CISA SSVC decision recorded49 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
git-scm gitbefore 2.43.7fixed in 2.43.7from 2.44.0 before 2.44.4fixed in 2.44.4from 2.45.0 before 2.45.4fixed in 2.45.4from 2.46.0 before 2.46.4fixed in 2.46.4from 2.47.0 before 2.47.3fixed in 2.47.3(+3 more)2.43.72.44.42.45.42.46.42.47.3
apple xcodebefore 26.0fixed in 26.026.0
debian debian_linux11.0no fix listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources