CVE-2025-48385
Git alllows arbitrary file writes via bundle-uri parameter injection
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
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 8.6 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: None
- Privileges required: None
- User interaction: Active
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 1.00% chance of exploitation in 30 days (percentile 62, 2026-11-26)
- CWE
- CWE-88, CWE-73
- 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 cloning a repository Git knows to optionally fetch a bundle advertised by the remote server, which allows the server-side to offload parts of the clone to a CDN. The Git client does not perform sufficient validation of the advertised bundles, which allows the remote side to perform protocol injection. This protocol injection can cause the client to write the fetched bundle to a location controlled by the adversary. The fetched content is fully controlled by the server, which can in the worst case lead to arbitrary code execution. The use of bundle URIs is not enabled by default and can be controlled by the bundle.heuristic config option. Some cases of the vulnerability require that the adversary is in control of where a repository will be cloned to. This either requires social engineering or a recursive clone with submodules. These cases can thus be avoided by disabling recursive clones. 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 / product | Affected | Fixed | Source |
|---|---|---|---|
| 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 |
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-48385. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-48385.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
Vendor advisories
FAQ
Is CVE-2025-48385 being exploited?
There is no confirmed exploitation: CVE-2025-48385 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.00% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-48385?
High: CVSS 8.6 (v4.0, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2025-48385?
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-48385?
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-48385?
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.