cbcvebase.
CVE-2025-48384
published 2025-07-08

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…

PriorityP180high8CVSS 3.1
AVNACHPRLUIRSCCHIHAH
KEVITWEXPLOIT
CISA Known Exploited Vulnerabilitydue 2025-09-15
Exploited in the wild
EPSS
2.77%
84.7th percentile
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.

Affected

43 ranges· showing 25
VendorProductVersion rangeFixed in
applexcode< 26.026.0
applexcode
debiandebian_linux
debiangit< git 1:2.39.5-0+deb12u3 (bookworm)git 1:2.39.5-0+deb12u3 (bookworm)
git-scmgit< 2.43.72.43.7
git-scmgit>= 2.44.0 < 2.44.42.44.4
git-scmgit>= 2.45.0 < 2.45.42.45.4
git-scmgit>= 2.46.0 < 2.46.42.46.4
git-scmgit>= 2.47.0 < 2.47.32.47.3
git-scmgit>= 2.48.0 < 2.48.22.48.2
git-scmgit>= 2.49.0 < 2.49.12.49.1
git-scmgit>= 2.50.0 < 2.50.12.50.1
gitgit< 2.43.72.43.7
gitgit
gitgit
gitgit
gitgit
gitgit
gitgit
gitgit
gitgit>= 0 < 1:2.30.2-1+deb11u51:2.30.2-1+deb11u5
gitgit>= 0 < 1:2.39.5-0+deb12u31:2.39.5-0+deb12u3
gitgit>= 0 < 1:2.47.3-0+deb13u11:2.47.3-0+deb13u1
gitgit>= 0 < 1:2.50.1-0.11:2.50.1-0.1
gitgit>= 0 < 1:2.34.1-1ubuntu1.141:2.34.1-1ubuntu1.14

Detection & IOCsextracted from sources · hover to see the quote

commandgit clone --recursive
filename.gitmodules
commandgit clone --recurse-submodules
commandgit -c protocol.file.allow=always submodule add
  • Detect .gitmodules files containing submodule path values with a trailing carriage return (\r), which is the malicious artifact enabling incorrect path resolution.
  • Monitor for use of 'git clone --recursive' or 'git clone --recurse-submodules' against external/untrusted repositories, especially when combined with protocol.file.allow=always override.
  • Detect the social engineering + malicious Git clone attack chain: threat actors combined social engineering with malicious Git repository cloning operations targeting unpatched Git installations.
  • ·The vulnerability only affects macOS and Linux; Windows is not listed as an affected platform in the observed exploitation activity.
  • ·The exploit requires the victim to perform a recursive clone (--recursive or --recurse-submodules); non-recursive clones are not affected by this attack chain.

CVSS provenance

nvdv3.18.0HIGHCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
osv8.0HIGH
vulncheck8.0HIGH
cisa8.0HIGH
vendor_debian8.0HIGH
vendor_msrc8.0HIGH
vendor_redhat8.0HIGH
vendor_ubuntu3.6LOW
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.