Home/CVE/Git Link Following Vulnerability
CVE

CVE-2025-48384

Git Link Following Vulnerability

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.

HIGH · CVSS 8 ⚠ CISA KEV EPSS 0.00603
Act now
  • Listed on CISA KEV (known exploited in the wild)
  • SSVC exploitation status: active
  • CVSS base score ≥ 7.0
Sigma rules0 YARA rules0

Required Remediation

Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Affected Products & Versions

10
git-scm git< 2.43.7
git-scm git>= 2.44.0 and < 2.44.4
git-scm git>= 2.45.0 and < 2.45.4
git-scm git>= 2.46.0 and < 2.46.4
git-scm git>= 2.47.0 and < 2.47.3
git-scm git>= 2.48.0 and < 2.48.2
git-scm git>= 2.49.0 and < 2.49.1
git-scm git>= 2.50.0 and < 2.50.1

Scoring & Timeline

8
HIGH · CVSS v3.1 · security-advisories@github.com
View on NVD
Attack Vector
Network Adjacent Local Physical
Attack Complexity
Low High
Privileges Required
None Low High
User Interaction
None Required
Scope
Unchanged Changed
Confidentiality
None Low High
Integrity
None Low High
Availability
None Low High
Published to NVD08 Jul 2025 · 07:15 PM
CVSS VectorCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
SSVC triage · cisa-vulnrichment
Exploitation
active
Automatable
no
Technical impact
total
SSVC asks the questions that actually drive patch urgency: is it being exploited, can attacks be automated, and how total is the impact.

Vendor Advisories

30
suse-csafSUSE-SU-2025:20855-1
suse-csafSUSE-SU-2025:20721-1
rhsaRHSA-2025:15672Important
rhsaRHSA-2025:15827Important
rhsaRHSA-2025:15828Important
🔗

References & Sources

5
Source URLs (vendor pages, mailing lists, write-ups). Exploit/PoC links are in their own section above to avoid duplication.
http://seclists.org/fulldisclosure/2025/Sep/60Mailing ListThird Party Advisory
Intelligence Graph · click any node to traverse
CVETechnique ActorTool Family
drag to reposition · click any node to traverse · button top-right enlarges
External lookups - second-class, for what we don’t hold ourselves
Vulnerabilities
CISA KEV catalog
CWE weaknesses
CAPEC attack patterns
Package vulnerabilities
Threat intelligence
Threat actors
Tools & malware
ATT&CK techniques
IOCs
Detection & defense
Sigma rules
YARA rules
Atomic Red Team tests
D3FEND countermeasures
Compliance
NIST 800-53
ISO 27001:2022
SOC 2 TSC
PCI-DSS v4.0
CIS Controls v8.1
About
All capabilities
Live statistics
Data sources
Privacy policy
Terms of service
threatengine.sh  ·  Open-source threat intelligence platform  ·  100+ authoritative sources  ·  Every fact traces to its origin