CVE-2025-48384 in Apple Xcode and 2 more products
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 ...
Affects 3 products from 3 vendors. Facts below cite their sources.
Remotely exploitable over the network, high complexity, low privileges required, requires user interaction, can impact systems beyond the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Apple | Xcode | < 26.0 |
| Debian | Debian Linux | 11.0 |
| Git-Scm | Git | < 2.43.7 ≥ 2.44.0, < 2.44.4 ≥ 2.45.0, < 2.45.4 ≥ 2.46.0, < 2.46.4 ≥ 2.47.0, < 2.47.3 ≥ 2.48.0, < 2.48.2+2 more≥ 2.49.0, < 2.49.1 ≥ 2.50.0, < 2.50.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Yes added 2025-08-25 |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-48384 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-270577-H |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H |
| Published | 2025-07-08 |
| Last modified | 2026-09-24 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-59: Improper Link Resolution Before File Access
Software follows symbolic links without verifying the target, allowing read, write, or delete of unintended files.
CWE-436: CWE-436
Related attack patterns (CAPEC)
CAPEC-34 HTTP Response Splitting via CWE-436
CAPEC-35 Leverage Executable Code in Non-Executable Files via CWE-59
CAPEC-76 Manipulating Web Input to File System Calls via CWE-59
CAPEC-105 HTTP Request Splitting via CWE-436
CAPEC-132 Symlink Attack via CWE-59
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2025-48384 affects Git, a widely used version control system, by allowing an attacker to manipulate submodule paths during initialization, potentially leading to unintended execution of scripts. This issue is particularly concerning in ICS/OT environments where version control systems are used for managing configurations and codebases. The vulnerability is rated as HIGH severity with a CVSS score of 8.0, and it has been listed in the KEV catalog with a public proof of concept available. Immediate remediation is recommended to prevent potential exploitation.
The vulnerability arises from how Git handles trailing carriage returns (CR) in submodule paths. When a submodule path contains a trailing CR, the altered path can be exploited to point to a different location, such as a symlink to the submodule hooks directory. If the submodule contains an executable post-checkout hook, this script could be unintentionally executed, leading to arbitrary code execution. The attack requires user interaction (UI:R) and low privileges (PR:L), but it can result in high impact on confidentiality, integrity, and availability (C:H, I:H, A:H).
Compensating controls AI-drafted, review before use
Implement strict input validation and sanitization for all Git commands and submodule paths. Ensure that all submodule paths are verified against a trusted list before execution. Regularly audit and review Git repositories for any suspicious activity.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Questions
What is CVE-2025-48384?
CVE-2025-48384 affects Git, a widely used version control system, by allowing an attacker to manipulate submodule paths during initialization, potentially leading to unintended execution of scripts. This issue is particularly concerning in ICS/OT environments where version control systems are used for managing configurations and codebases. The vulnerability is rated as HIGH severity with a CVSS score of 8.0, and it has been listed in the KEV catalog with a public proof of concept available. Imme
What is the CVSS score for CVE-2025-48384?
CVE-2025-48384 has CVSS 8.0 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H. EPSS: 1.4%.
Is CVE-2025-48384 actively exploited?
Yes. CVE-2025-48384 is in the CISA known-exploited catalog (added 2025-08-25). Active exploitation confirmed. Immediate patching required.
How do I remediate CVE-2025-48384?
Priority: IMMEDIATE. PSIRT: [email protected]
What systems are affected by CVE-2025-48384?
CVE-2025-48384 affects Apple Xcode; Debian Debian Linux; Git-Scm Git.
What NERC-CIP standard applies to CVE-2025-48384?
NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 because it allows unauthorized modification of configuration settings, which can lead to the execution of malicious code, compromising the security and reliability of the control system.
What IEC 62443 requirement maps to CVE-2025-48384?
IEC 62443 SR 7.6: This CVE maps to SR 7.6 because it involves the manipulation of configuration settings, which can lead to unauthorized access and execution of code, violating the principle of secure configuration management in ICS/OT environments.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Apple","product":"Xcode","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-09-24.