Skip to main content
Network Thinking Solutions Logo

CVE-2025-48384

Git arbitrary code execution via broken config quoting

All CVEs
CVE-2025-48384
Known exploited · CISA KEV
Published 7/8/2025

Git arbitrary code execution via broken config quoting

Vendor advisory
CVSS8.0High

Overview

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.

Published
7/8/2025
Last modified
9/24/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

Known exploited · CISA KEV

The source record flags evidence of exploitation in the wild. Whether a specific system is affected depends on the product, version, and advisory conditions.

Added to KEV: Not available

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
git
git-scm
< 2.43.7

Verify advisory

Source
git
git-scm
≥ 2.44.0, < 2.44.4

Verify advisory

Source
git
git-scm
≥ 2.45.0, < 2.45.4

Verify advisory

Source
git
git-scm
≥ 2.46.0, < 2.46.4

Verify advisory

Source
git
git-scm
≥ 2.47.0, < 2.47.3

Verify advisory

Source
git
git-scm
≥ 2.48.0, < 2.48.2

Verify advisory

Source
git
git-scm
≥ 2.49.0, < 2.49.1

Verify advisory

Source
git
git-scm
≥ 2.50.0, < 2.50.1

Verify advisory

Source
debian linux
debian
11.0

Verify advisory

Source
xcode
apple
< 26.0

Verify advisory

Source
git
git
< 2.43.7

Verify advisory

Source
git
git
>= 2.44.0-rc0, < 2.44.4

Verify advisory

Source
git
git
>= 2.45.0-rc0, < 2.45.4

Verify advisory

Source
git
git
>= 2.46.0-rc0, < 2.46.4

Verify advisory

Source
git
git
>= 2.47.0-rc0, < 2.47.3

Verify advisory

Source
git
git
>= 2.48.0-rc0, < 2.48.2

Verify advisory

Source
git
git
>= 2.49.0-rc0, < 2.49.1

Verify advisory

Source
git
git
>= 2.50.0-rc0, < 2.50.1

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.