CVE-2025-48384

HIGHCVSS 8/10Actively ExploitedEPSS 2.77%

Last modified

CVE-2025-48384 is a high-severity vulnerability rated 8/10 on the CVSS scale. 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). CISA has confirmed active exploitation in the wild. EPSS estimates a 2.77% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
8/10

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H

EPSS Probability
2.77%

84.5th percentile

Probability of exploitation in the next 30 days. Learn more

Exploitation Status

This vulnerability is listed in CISA’s Known Exploited Vulnerabilities catalog, confirming active exploitation in the wild. Federal agencies must remediate by .

Weakness Enumeration

Affected Software

VendorProductVersions
Git-ScmGit< 2.43.7
Git-ScmGit>= 2.44.0, < 2.44.4
Git-ScmGit>= 2.45.0, < 2.45.4
Git-ScmGit>= 2.46.0, < 2.46.4
Git-ScmGit>= 2.47.0, < 2.47.3
Git-ScmGit>= 2.48.0, < 2.48.2
Git-ScmGit>= 2.49.0, < 2.49.1
Git-ScmGit>= 2.50.0, < 2.50.1
DebianDebian Linux11.0
AppleXcode< 26.0

References

Timeline

Published
Last Modified
Status
Analyzed

Frequently Asked Questions

What is CVE-2025-48384?
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.
How severe is CVE-2025-48384?
CVE-2025-48384 has a CVSS score of 8/10 (HIGH severity). The EPSS model estimates a 2.77% probability of exploitation in the next 30 days. This vulnerability is listed in CISA's Known Exploited Vulnerabilities catalog.
How do I fix CVE-2025-48384?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2025-48384?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST