CVE-2025-48385 json
Git alllows arbitrary file writes via bundle-uri parameter injection
published 2025-07-08 16 mo ago modified 2026-06-17 4 mo ago also BIT-git-2025-48385 , EUVD-2025-20678 , GHSA-m98c-vgpc-9655
- cvss
- 8.6
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 64%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bitnami git 2.50.1
- git-scm git 2.43.7, 2.44.4, 2.45.4, 2.46.4, 2.47.3, 2.48.2, 2.49.1, 2.50.1
- git git 2.43.7, 2.44.4, 2.45.4, 2.46.4, 2.47.3, 2.48.2, 2.49.1, 2.50.1
- git_project git 2.43.7, 2.44.4, 2.45.4, 2.46.4, 2.47.3, 2.48.2, 2.49.1, 2.50.1
- git Debian 12 1:2.39.5-0+deb12u3
- git Debian 13 1:2.47.3-0+deb13u1
- git Debian 14 1:2.50.1-0.1
debian advisories DEBIAN-CVE-2025-48385
- git Ubuntu 24.04 LTS 1:2.43.0-1ubuntu7.3
ubuntu advisories UBUNTU-CVE-2025-48385
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- git RHEL 8 2.43.7-1.el8_10
- gitk RHEL 8 2.43.7-1.el8_10
- gitweb RHEL 8 2.43.7-1.el8_10
- git-all RHEL 8 2.43.7-1.el8_10
- git-gui RHEL 8 2.43.7-1.el8_10
- git-svn RHEL 8 2.43.7-1.el8_10
- git-core RHEL 8 2.43.7-1.el8_10
- perl-Git RHEL 8 2.43.7-1.el8_10
red hat advisories RHSA-2025:11795RHSA-2025:11794RHSA-2025:11686RHSA-2025:11534RHSA-2025:11533RHSA-2025:11462
- git Linux Micro 6.1 2.51.0-slfo.1.1_1.1
- git Linux Micro 6.0 2.51.0-1.1
- git SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES for SAP 15 SP3 +12 more 2.43.7-150300.10.51.1
- python-PyYAML SLE Module for Python 3 15 SP7, SLE Module for Python 3 15 SP6, openSUSE Leap 15.6 6.0.2-150600.10.3.1
- git SLE Module for Development Tools 15 SP7, SLE Module for Development Tools 15 SP6, SLE Module for Basesystem 15 SP7 +2 more 2.51.0-150600.3.12.1
- git-lfs SLE Module for Development Tools 15 SP7, SLE Module for Development Tools 15 SP6, openSUSE Leap 15.6 3.7.0-150600.13.3.1
- obs-scm-bridge SLE Module for Development Tools 15 SP7, SLE Module for Development Tools 15 SP6, openSUSE Leap 15.6 0.7.4-150600.14.4.1
suse advisories SUSE-SU-2025:20855-1SUSE-SU-2025:20721-1SUSE-SU-2025:03037-1SUSE-SU-2025:03012-1
- git openSUSE Tumbleweed 2.50.1-1.1
opensuse advisories openSUSE-SU-2025:15337-1
- gitk AlmaLinux 10 2.47.3-1.el10_0
- gitweb AlmaLinux 10 2.47.3-1.el10_0
- git-all AlmaLinux 10 2.47.3-1.el10_0
- git-gui AlmaLinux 10 2.47.3-1.el10_0
- git-svn AlmaLinux 10 2.47.3-1.el10_0
- perl-Git AlmaLinux 10 2.47.3-1.el10_0
- git-email AlmaLinux 10 2.47.3-1.el10_0
- git-subtree AlmaLinux 10 2.47.3-1.el10_0
almalinux advisories ALSA-2025:11533ALSA-2025:11534ALSA-2025:11462
- git Rocky Linux 9 2.47.3-1.el9_6
- git Rocky Linux 8 2.43.7-1.el8_10
rocky linux advisories RLSA-2025:11462RLSA-2025:11534
- git Alpine 3.19 2.43.7-r0
- git Alpine 3.20 2.45.4-r0
- git Alpine 3.21 2.47.3-r0
- git Alpine 3.22 2.49.1-r0
- git Alpine 3.24, Alpine 3.23 2.50.1-r0
alpine advisories ALPINE-CVE-2025-48385
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- git Azure Linux 3.0 2.45.4-1
- git CBL-Mariner 2.0 2.40.4-2
azure linux advisories AZL-65040AZL-65051
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-48385 updated cvss 8.3
git: Git arbitrary file writes
-
Red Hat Enterprise Linux 6 git, gitk, gitweb, git-all, git-cvs, git-gui, +6 moreaffected: workaround, no fix planned “Will not fix”
-
Red Hat Middleware Containers for OpenShift rhpam-7/rhpam-operator-bundle 7.13.5-27, rhpam-7/rhpam-rhel8-operator 7.13.5-2.1752676931, rhpam-7/rhpam-kieserver-rhel8 7.13.5-4.1752676932, rhpam-7/rhpam-controller-rhel8 7.13.5-4.1752676933, rhpam-7/rhpam-dashbuilder-rhel8 7.13.5-3.1752676926, rhpam-7/rhpam-smartrouter-rhel8 7.13.5-4.1752676930, +3 morefixed: vendor fix RHSA-2025:13276
-
Red Hat Enterprise Linux AppStream (v. 8) git 2.43.7-1.el8_10, gitk 2.43.7-1.el8_10, gitweb 2.43.7-1.el8_10, git-all 2.43.7-1.el8_10, git-gui 2.43.7-1.el8_10, git-svn 2.43.7-1.el8_10, +8 morefixed: vendor fix RHSA-2025:11534
-
Red Hat Enterprise Linux AppStream (v. 9) git 2.47.3-1.el9_6, gitk 2.47.3-1.el9_6, gitweb 2.47.3-1.el9_6, git-all 2.47.3-1.el9_6, git-gui 2.47.3-1.el9_6, git-svn 2.47.3-1.el9_6, +8 morefixed: vendor fix RHSA-2025:11462
-
Red Hat Enterprise Linux AppStream (v. 10) git 2.47.3-1.el10_0, gitk 2.47.3-1.el10_0, gitweb 2.47.3-1.el10_0, git-all 2.47.3-1.el10_0, git-gui 2.47.3-1.el10_0, git-svn 2.47.3-1.el10_0, +8 morefixed: vendor fix RHSA-2025:11533
-
Red Hat Enterprise Linux AppStream E4S (v.8.8) git 2.39.5-1.el8_8.2, gitk 2.39.5-1.el8_8.2, gitweb 2.39.5-1.el8_8.2, git-all 2.39.5-1.el8_8.2, git-gui 2.39.5-1.el8_8.2, git-svn 2.39.5-1.el8_8.2, +8 morefixed: vendor fix RHSA-2025:11794
-
Red Hat Enterprise Linux AppStream E4S (v.9.2) git 2.39.5-1.el9_2.2, gitk 2.39.5-1.el9_2.2, gitweb 2.39.5-1.el9_2.2, git-all 2.39.5-1.el9_2.2, git-gui 2.39.5-1.el9_2.2, git-svn 2.39.5-1.el9_2.2, +8 morefixed: vendor fix RHSA-2025:11795
-
Red Hat Enterprise Linux AppStream EUS (v.9.4) git 2.43.5-1.el9_4.2, gitk 2.43.5-1.el9_4.2, gitweb 2.43.5-1.el9_4.2, git-all 2.43.5-1.el9_4.2, git-gui 2.43.5-1.el9_4.2, git-svn 2.43.5-1.el9_4.2, +8 morefixed: vendor fix RHSA-2025:11686
show 14 moreshow fewer
-
Red Hat Enterprise Linux AppStream TUS (v.8.8) git 2.39.5-1.el8_8.2, gitk 2.39.5-1.el8_8.2, gitweb 2.39.5-1.el8_8.2, git-all 2.39.5-1.el8_8.2, git-gui 2.39.5-1.el8_8.2, git-svn 2.39.5-1.el8_8.2, +8 morefixed: vendor fix RHSA-2025:11794
-
Red Hat OpenShift Container Platform 4.13 rhcos 413.92.202509030117fixed: vendor fix RHSA-2025:15672
-
Red Hat OpenShift Container Platform 4.14 rhcos 414.92.202508270040fixed: vendor fix RHSA-2025:14853
-
Red Hat OpenShift Container Platform 4.15 rhcos 415.92.202508192014fixed: vendor fix RHSA-2025:14396
-
Red Hat OpenShift Container Platform 4.16 rhcos 416.94.202508261955fixed: vendor fix RHSA-2025:14858
-
Red Hat OpenShift Container Platform 4.17 rhcos 417.94.202508141510fixed: vendor fix RHSA-2025:14059
-
Red Hat OpenShift Container Platform 4.18 rhcos 418.94.202508060022-0fixed: vendor fix RHSA-2025:13325
-
Red Hat OpenShift Container Platform 4.19 rhcos 4.19.9.6.202508112354fixed: vendor fix RHSA-2025:13933
-
Red Hat OpenShift Dev Spaces (RHOSDS) 3.23 devspaces 3.23-1757618807fixed: vendor fix RHSA-2025:15847
-
Red Hat Web Terminal 1.11 on RHEL 9 web-terminal/web-terminal-tooling-rhel9 1.11-8, web-terminal/web-terminal-rhel9-operator 1.11-19fixed: vendor fix RHSA-2025:15828
-
Red Hat Web Terminal 1.12 on RHEL 9 web-terminal/web-terminal-tooling-rhel9 1.12-4fixed: vendor fix RHSA-2025:15827
-
Red Hat Enterprise Linux 7 git, gitk, git-hg, git-p4, gitweb, git-all, +12 morenot affected: vulnerable code not present
-
Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8not affected: component not present
-
Red Hat OpenShift Container Platform 4.18 openshift4/frr-rhel9 v4.18.0-202508041733.p0.g98ccbe6.assembly.stream.el9, openshift4/ose-cli-rhel9 v4.18.0-202507291333.p0.g4fcb2d0.assembly.stream.el9, openshift4/ose-pod-rhel9 v4.18.0-202508052235.p0.g0c9395f.assembly.stream.el9, openshift4/ose-etcd-rhel9 v4.18.0-202508041733.p0.gb5a4f8d.assembly.stream.el9, openshift4/ose-tests-rhel9 v4.18.0-202508061002.p0.g327bae0.assembly.stream.el9, openshift4/ose-tools-rhel9 v4.18.0-202508061002.p0.g4fcb2d0.assembly.stream.el9, +182 more Red Hat OpenShift Dev Spaces (RHOSDS) 3.23 devspaces 3.23-1756504388, devspaces 3.23-1756506343, devspaces 3.23-1756507311, devspaces 3.23-1756509551, devspaces 3.23-1756753588, devspaces 3.23-1756828766, +8 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 16 mo ago
Exploit prediction
1.06% chance of exploitation in the next 30 days, higher than 64% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.6 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| CNA | 4.0 | 8.6 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | git | <2.50.1 |
2.50.1 |
Affected products
- git git
Classification
References
Sources
- CVE List CVE-2025-48385
- NVD CVE-2025-48385
- OSV BIT-git-2025-48385
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.