CVE-2025-48384
Git: Link Following
As of , CVE-2025-48384 in Git is on CISA's list of exploited vulnerabilities: CISA listed it on . Our patch-first group: Patch soon.
- Exploited
- Yes: CISA listed it on 25 August 2025
- US federal deadline
- 15 September 202521 days after CISA listed it. US federal civilian agencies must fix it by then.
- Used in ransomware campaigns
- Not known to CISA
- EPSS score
- 0.04Higher than 90% of the CVEs EPSS scores. EPSS estimates the chance of exploitation activity in the next 30 days.
- Public exploit
- None foundNeither Metasploit nor Exploit-DB lists one.
- Fix
- Vendor advice: access.redhat.com, alas.aws.amazon.com and github.comLinks below, from CISA's entry.
What CISA says to do
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
CISA's required action
- github.comThis vulnerability affects a common open-source component, third-party library, or a protocol used by different products. For more…
- access.redhat.com
- alas.aws.amazon.com
- linux.oracle.com
- msrc.microsoft.com
What the flaw is
Git contains a link following vulnerability that stems from Git’s inconsistent handling of carriage return characters in configuration files.
CISA's 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.
The CVE record's description, from GitHub_M
- CVE published
- 8 July 2025
- Assigned by
- GitHub_M
- CVSS
- 8.1 High (CVSS 3.1, from the CNA)
- CWE-436
- Interpretation Conflict
- CWE-59
- Improper Link Resolution Before File Access ('Link Following')
- CISA SSVC, exploitation
- active
- CISA SSVC, automatable
- no
- CISA SSVC, technical impact
- total
Timeline
- The CVE record was published.
- CISA added it to its list of exploited vulnerabilities.
- The US federal deadline to fix it.
Read further
- CVE recordcve.org
- NVD entrynvd.nist.gov
- CISA's catalogcisa.gov
- EPSS for this CVEapi.first.org