Live threats

All CVEs / Git

CVE-2025-48384Git

Arbitrary Code Execution in Git via Submodule Paths with Line Feed Characters

High 8.0 KEV

Priority
48
CVSS 3.1
8.0
EPSS
—
Auth required
Yes
In KEV since
Aug 25, 2025
CISA deadline
Sep 15, 2025
Ransomware use
Unknown
Published
Jul 8, 2025
Updated
Sep 24, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-59, CWE-436
SSVC (CISA)
Exploitation: active · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H

What happens

Git improperly handles carriage return (CR) characters in configuration files, allowing submodule paths to be altered during reading. An authenticated attacker can create a malicious repository that, when cloned, executes a submodule post-checkout script in an unintended location if a symlink exists. CISA confirmed this vulnerability is actively exploited.

AI-generated summary (Claude) based on NVD and CISA data. Not reviewed yet: check the details in the vendor advisory.

Show the original NVD text

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 text, unmodified. NVD.

Exploitation confirmed by CISA

Git contains a link following vulnerability that stems from Git’s inconsistent handling of carriage return characters in configuration files.

Action required by CISA: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Source text, unmodified. CISA KEV.

What to do

Patch available · fixed versions: 2.43.7, 2.44.4, 2.45.4, 2.46.4, 2.47.3, 2.48.2, 2.49.1, 2.50.1

Update Git to the patched version corresponding to your branch: 2.43.7, 2.44.4, 2.45.4, 2.46.4, 2.47.3, 2.48.2, 2.49.1, or 2.50.1.

Vendor advisory · github.com ↗

AI-generated from public data; not reviewed.

  1. Apply the vendor's security update for Git.
  2. CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was September 15, 2025.
  3. Check logs for signs of earlier exploitation.

Affected products (CPE)

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

Official sources

References

Links published by the sources. Open them with care.