CVE-2025-48384: Git Link Following Vulnerability

Published Jul 8, 2025
·
Updated

CVE-2025-48384 is regarding a vulnerability in Git where 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. GitHub created this CVE on their behalf. The documented Visual Studio updates incorporate updates in Git which address this vulnerability. Please see CVE-2025-48384 for more information.

Other sources

Dev Tools. A path handling issue was addressed with improved validation.

Apple

Dev Tools. The issue was addressed with improved checks.

Apple

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

CISA

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.

NVD

Git. This is a vulnerability in open source code and Apple Software is among the affected projects. The CVE-ID was assigned by a third party. Learn more about the issue and CVE-ID at cve.org.

Apple

Credit

CVE-2025-48384, Mickey Jin@@patch1t, Nathaniel Oh@@calysteon

Affected Software

17 affected componentsFixes available
Microsoft Visual Studio 2017 (includes 15.0 - 15.8)=15.9
Microsoft Visual Studio 2022=17.10
Microsoft Visual Studio 2022=17.8
Microsoft Visual Studio 2019 (includes 16.0 - 16.10)=16.11
Microsoft Visual Studio 2022=17.12
Git Git
Apple Xcode<26
26
git-scm Git<2.43.7
git-scm Git>=2.44.0<2.44.4
git-scm Git>=2.45.0<2.45.4
git-scm Git>=2.46.0<2.46.4
git-scm Git>=2.47.0<2.47.3
git-scm Git>=2.48.0<2.48.2
git-scm Git>=2.49.0<2.49.1
git-scm Git>=2.50.0<2.50.1
Debian Debian Linux=11.0
Apple Xcode<26.0

Remediation

Information

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

Event History

Jul 8, 2025
CVE Published
via Microsoft·07:00 AM
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·02:00 PM
Affected Software
Updated
via Microsoft·02:00 PM
Affected Software
Updated
via Microsoft·02:00 PM
Description
CVE Published
via MITRE·06:23 PM
Data Sourced
via MITRE·06:23 PM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·07:01 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·07:15 PM
DescriptionSeverityWeaknessAffected Software
Aug 25, 2025
Known Exploited
via CISA·12:00 AM
Data Sourced
via CISA·12:00 AM
RemedyDescriptionAffected Software
Aug 26, 2025
News Published
via BleepingComputer·02:57 PM
News Published
via BleepingComputer·02:58 PM
Sep 15, 2025
Data Sourced
via Apple·12:00 AM
DescriptionWeaknessAffected Software
Updated
via Apple·12:00 AM
Description
Updated
via Apple·12:00 AM
DescriptionWeakness

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-48384?

CVE-2025-48384 is rated as a critical vulnerability due to its potential impact on the security of configurations in affected software.

2

How do I fix CVE-2025-48384?

To fix CVE-2025-48384, update your Visual Studio installation to the latest version provided by Microsoft.

3

Which versions of Visual Studio are affected by CVE-2025-48384?

CVE-2025-48384 affects Visual Studio 2017 versions 15.0 - 15.9, Visual Studio 2019 version 16.11, and various versions of Visual Studio 2022.

4

What types of attacks could exploit CVE-2025-48384?

Exploitation of CVE-2025-48384 could allow an attacker to manipulate configuration settings leading to unauthorized access or denial of service.

5

Is there a workaround for CVE-2025-48384 if I cannot update immediately?

Currently, applying available patches from Microsoft is the recommended action, as no known effective workarounds exist for CVE-2025-48384.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203