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.
Weakness
CISA Known Exploited Vulnerabilities entry
| Vulnerability name | Git Link Following Vulnerability |
|---|---|
| Vendor / product | Git / Git |
| Date added | 2025-08-25 |
| Federal remediation due date | 2025-09-15 |
| Required action | Apply 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 use | Unknown |
CISA SSVC decision points
| Exploitation | active |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2025-08-26 |
Timeline
- 2025-07-08Published by the CNA18:23 UTC
- 2025-08-25Added to the CISA KEV catalog48 days after publication
- 2025-08-26CISA SSVC decision recorded49 days after publication
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| git-scm git | before 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 xcode | before 26.0fixed in 26.0 | 26.0 |
| debian debian_linux | 11.0no fix listed | not listed |
References
- https://github.com/git/git/security/advisories/GHSA-vwqx-4fm8-6qc9
- http://seclists.org/fulldisclosure/2025/Sep/60
- http://www.openwall.com/lists/oss-security/2025/07/08/4
- https://lists.debian.org/debian-lts-announce/2025/10/msg00003.html
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-48384
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2025-48384'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2025-48384'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2025-48384'curl 'https://api.contrastcyber.com/cve_products/CVE-2025-48384'curl 'https://api.contrastcyber.com/kev_lookup/CVE-2025-48384'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).