CVE-2025-48384Git submodule path CRLF symlink flaw enables hook execution
CVSS score
8.0
High
CVSS 3.1 from github.com
Exploit probability (EPSS)
4.48%
4.48% chance of exploitation in the next 30 days, higher than 91.7% of all CVEs.
CISA KEV
Actively exploited
Added to KEV on 25 Aug 2025.
US federal deadline to fix: 15 Sept 2025.
In plain words
A crafted repository can make Git check out a submodule to the wrong location and run an executable post-checkout hook, which is a code execution risk on the victim's machine. Exploitation requires a local user to interact with the repository, such as cloning or initializing submodules. CISA reports active exploitation, and Git versions before 2.43.7, 2.44.x before 2.44.4, and 2.45.x before 2.45.4 are affected, along with some Debian Linux and Apple Xcode builds. Update Git to a fixed release such as 2.43.7, 2.44.4, 2.45.4 or later, or apply the vendor mitigations.
Official 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.
Source: NVD · CNA: security-advisories@github.com
How to fix it, step by step
Treat it as urgent
Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 25 Aug 2025.
US federal agencies must fix it by 15 Sept 2025. It's a sensible deadline for everyone else too.
CISA's full instruction
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Check whether you're affected
Find every system running git-scm Git, Debian Linux, Apple Xcode and compare its version with the affected versions.
Update to a fixed version
- Update Git to 2.43.7, 2.44.4, 2.45.4, 2.46.4 or later, on the branch you run.
- Update Xcode to 26.0 or later.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Check for signs of compromise
Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- Low
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| git-scm Git | < 2.43.7 · ≥ 2.44.0, < 2.44.4 · ≥ 2.45.0, < 2.45.4 · ≥ 2.46.0, < 2.46.4 · ≥ 2.47.0, < 2.47.3 · ≥ 2.48.0, < 2.48.2 |
| Debian Debian Linux | 11.0 |
| Apple Xcode | < 26.0 |
| Git Git | < 2.43.7 · >= 2.44.0-rc0, < 2.44.4 · >= 2.45.0-rc0, < 2.45.4 · >= 2.46.0-rc0, < 2.46.4 · >= 2.47.0-rc0, < 2.47.3 · >= 2.48.0-rc0, < 2.48.2 |
Frequently asked questions
Is CVE-2025-48384 being exploited?
Yes. CISA added CVE-2025-48384 to its Known Exploited Vulnerabilities catalog on 25 Aug 2025, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 4.5% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2025-48384?
CVE-2025-48384 has a CVSS 3.1 base score of 8.0 (high).
Which versions are affected?
Git Scm Git (< 2.43.7; ≥ 2.44.0, < 2.44.4; ≥ 2.45.0, < 2.45.4; ≥ 2.46.0, < 2.46.4; ≥ 2.47.0, < 2.47.3; ≥ 2.48.0, < 2.48.2), Debian Debian Linux (11.0), Apple Xcode (< 26.0), Git Git (< 2.43.7; >= 2.44.0-rc0, < 2.44.4; >= 2.45.0-rc0, < 2.45.4; >= 2.46.0-rc0, < 2.46.4; >= 2.47.0-rc0, < 2.47.3; >= 2.48.0-rc0, < 2.48.2)
Is there a patch for CVE-2025-48384?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/git/git/security/advisories/GHSA-vwqx-4fm8-6qc9(Vendor Advisory)
- seclists.org/fulldisclosure/2025/Sep/60(Mailing List, Third Party Advisory)
- www.openwall.com/lists/oss-security/2025/07/08/4(Mailing List)
- lists.debian.org/debian-lts-announce/2025/10/msg00003.html(Mailing List, Third Party Advisory)
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-48384(US Government Resource)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.