Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-48384

HIGH 8.1ExploitedEPSS 72%

Git allows arbitrary code execution through broken config quoting

Mitigation

  • Upgrade git to 2.50.1 or later.

Who should check

  • Anyone running 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; >= 2.49.0-rc0, < 2.49.1; >= 2.50.0-rc0, < 2.50.1

Vulnerability facts

Affected
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; >= 2.49.0-rc0, < 2.49.1; >= 2.50.0-rc0, < 2.50.1
Fixed in
git 2.43.7, git 2.44.4, git 2.45.4, git 2.46.4, git 2.47.3, git 2.48.2, git 2.49.1, git 2.50.1
Exploited in the wild
Yes: in CISA KEV since 2025-08-25; federal due date 2025-09-15
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
8.1 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: High
  • Privileges required: Low
  • User interaction: Required
  • Scope: Changed (impact reaches other components)
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
1.39% chance of exploitation in 30 days (percentile 72, 2026-11-26)
CWE
CWE-436, CWE-59
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
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; >= 2.49.0-rc0, < 2.49.1; >= 2.50.0-rc0, < 2.50.1—cvelist

Timeline

  1. 2025-07-08 Published
  2. 2025-08-25 Added to CISA KEV (exploited in the wild)
  3. 2025-09-15 CISA remediation due date for US federal agencies
  4. 2026-09-24 Last modified

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-48384. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-48384.md
Affected: 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; >= 2.49.0-rc0, < 2.49.1; >= 2.50.0-rc0, < 2.50.1
Fixed in: git 2.43.7, git 2.44.4, git 2.45.4, git 2.46.4, git 2.47.3, git 2.48.2, git 2.49.1, git 2.50.1

Steps:
1. Search this machine and project for git: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-48384 being exploited?

Yes. CISA lists CVE-2025-48384 in its Known Exploited Vulnerabilities catalog since 2025-08-25, which means attacks have been seen. No public exploit code is known. EPSS estimates a 1.39% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-48384?

High: CVSS 8.1 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2025-48384?

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; >= 2.49.0-rc0, < 2.49.1; >= 2.50.0-rc0, < 2.50.1.

Is there a fix for CVE-2025-48384?

Yes. Fixed in git 2.43.7, git 2.44.4, git 2.45.4, git 2.46.4, git 2.47.3, git 2.48.2, git 2.49.1, git 2.50.1. Upgrade git to 2.50.1 or later.

How do I check if I'm affected by CVE-2025-48384?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors