CVE-2025-48384
published high CVSS 3.1 · 8.1Git allows arbitrary code execution through broken config quoting
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| git | — | 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 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluationALAS2-2025-2941 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1108 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | git | Advisory build | 2.43.7-1.el8_10 | ALSA-2025:11534 |
| Alpine Linux | edge | git | Fixed | 2.50.1-r0 | Package fix record |
| Debian | bullseye | git | Advisory build | 1:2.30.2-1+deb11u5 | DLA-4323-1 |
| Oracle Linux | 10 | gitaarch64 | Advisory build | 0:2.47.3-1.el10_0 | ELSA-2025-11533 |
| Red Hat Enterprise Linux | RHEL-10 | gitaarch64 | Advisory build | 2.47.3-1.el10_0 | RHSA-2025:11533 |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-12-SP5 | gitaarch64 | Advisory build | 2.26.2-27.81.1 | SUSE-SU-2025:03022-1 |
| AlmaLinux | 9 | git | Advisory build | 2.47.3-1.el9_6 | ALSA-2025:11462 |
| Alpine Linux | v3.19 | git | Fixed | 2.43.7-r0 | Package fix record |
| Alpine Linux | v3.20 | git | Fixed | 2.45.4-r0 | Package fix record |
| Alpine Linux | v3.21 | git | Fixed | 2.47.3-r0 | Package fix record |
| Alpine Linux | v3.22 | git | Fixed | 2.49.1-r0 | Package fix record |
| Alpine Linux | v3.23 | git | Fixed | 2.50.1-r0 | Package fix record |
| Alpine Linux | v3.24 | git | Fixed | 2.50.1-r0 | Package fix record |
| Oracle Linux | 10 | gitx86_64 | Advisory build | 0:2.47.3-1.el10_0 | ELSA-2025-11533 |
| Oracle Linux | 7 | gitx86_64 | Advisory build | 0:1.8.3.1-25.0.1.el7_9 | ELSA-2025-11688 |
| Oracle Linux | 8 | gitaarch64 | Advisory build | 0:2.43.7-1.el8_10 | ELSA-2025-11534 |
| Oracle Linux | 8 | gitx86_64 | Advisory build | 0:2.43.7-1.el8_10 | ELSA-2025-11534 |
| Oracle Linux | 9 | gitaarch64 | Advisory build | 0:2.47.3-1.el9_6 | ELSA-2025-11462 |
| Oracle Linux | 9 | gitx86_64 | Advisory build | 0:2.47.3-1.el9_6 | ELSA-2025-11462 |
| Red Hat Enterprise Linux | RHEL-10 | gitppc64le | Advisory build | 2.47.3-1.el10_0 | RHSA-2025:11533 |
| Red Hat Enterprise Linux | RHEL-10 | gits390x | Advisory build | 2.47.3-1.el10_0 | RHSA-2025:11533 |
| Red Hat Enterprise Linux | RHEL-10 | gitsrc | Advisory build | 2.47.3-1.el10_0 | RHSA-2025:11533 |
| Red Hat Enterprise Linux | RHEL-10 | gitx86_64 | Advisory build | 2.47.3-1.el10_0 | RHSA-2025:11533 |
| Red Hat Enterprise Linux | RHEL-7 | gitppc64 | Advisory build | 1.8.3.1-25.el7_9.1 | RHSA-2025:11688 |
| Red Hat Enterprise Linux | RHEL-7 | gitppc64le | Advisory build | 1.8.3.1-25.el7_9.1 | RHSA-2025:11688 |
| Red Hat Enterprise Linux | RHEL-7 | gits390x | Advisory build | 1.8.3.1-25.el7_9.1 | RHSA-2025:11688 |
| Red Hat Enterprise Linux | RHEL-7 | gitsrc | Advisory build | 1.8.3.1-25.el7_9.1 | RHSA-2025:11688 |
| Red Hat Enterprise Linux | RHEL-7 | gitx86_64 | Advisory build | 1.8.3.1-25.el7_9.1 | RHSA-2025:11688 |
| Red Hat Enterprise Linux | RHEL-8 | gitaarch64 | Advisory build | 2.31.8-3.el8_6.1 | RHSA-2025:11801 |
| Red Hat Enterprise Linux | RHEL-8 | gitaarch64 | Advisory build | 2.43.7-1.el8_10 | RHSA-2025:11534 |
| Red Hat Enterprise Linux | RHEL-8 | gitppc64le | Advisory build | 2.31.8-3.el8_6.1 | RHSA-2025:11801 |
| Red Hat Enterprise Linux | RHEL-8 | gitppc64le | Advisory build | 2.39.5-1.el8_8.2 | RHSA-2025:11794 |
| Red Hat Enterprise Linux | RHEL-8 | gitppc64le | Advisory build | 2.43.7-1.el8_10 | RHSA-2025:11534 |
| Red Hat Enterprise Linux | RHEL-8 | gits390x | Advisory build | 2.31.8-3.el8_6.1 | RHSA-2025:11801 |
| Red Hat Enterprise Linux | RHEL-8 | gits390x | Advisory build | 2.43.7-1.el8_10 | RHSA-2025:11534 |
| Red Hat Enterprise Linux | RHEL-8 | gitsrc | Advisory build | 2.18.4-5.el8_2.1 | RHSA-2025:11793 |
| Red Hat Enterprise Linux | RHEL-8 | gitsrc | Advisory build | 2.27.0-5.el8_4.1 | RHSA-2025:11800 |
| Red Hat Enterprise Linux | RHEL-8 | gitsrc | Advisory build | 2.31.8-3.el8_6.1 | RHSA-2025:11801 |
| Red Hat Enterprise Linux | RHEL-8 | gitsrc | Advisory build | 2.39.5-1.el8_8.2 | RHSA-2025:11794 |
| Red Hat Enterprise Linux | RHEL-8 | gitsrc | Advisory build | 2.43.7-1.el8_10 | RHSA-2025:11534 |
| Red Hat Enterprise Linux | RHEL-8 | gitx86_64 | Advisory build | 2.18.4-5.el8_2.1 | RHSA-2025:11793 |
| Red Hat Enterprise Linux | RHEL-8 | gitx86_64 | Advisory build | 2.27.0-5.el8_4.1 | RHSA-2025:11800 |
| Red Hat Enterprise Linux | RHEL-8 | gitx86_64 | Advisory build | 2.31.8-3.el8_6.1 | RHSA-2025:11801 |
| Red Hat Enterprise Linux | RHEL-8 | gitx86_64 | Advisory build | 2.39.5-1.el8_8.2 | RHSA-2025:11794 |
| Red Hat Enterprise Linux | RHEL-8 | gitx86_64 | Advisory build | 2.43.7-1.el8_10 | RHSA-2025:11534 |
| Red Hat Enterprise Linux | RHEL-9 | gitaarch64 | Advisory build | 2.31.1-6.el9_0.1 | RHSA-2025:11796 |
| Red Hat Enterprise Linux | RHEL-9 | gitaarch64 | Advisory build | 2.39.5-1.el9_2.2 | RHSA-2025:11795 |
| Red Hat Enterprise Linux | RHEL-9 | gitaarch64 | Advisory build | 2.43.5-1.el9_4.2 | RHSA-2025:11686 |
| Red Hat Enterprise Linux | RHEL-9 | gitaarch64 | Advisory build | 2.47.3-1.el9_6 | RHSA-2025:11462 |
| Red Hat Enterprise Linux | RHEL-9 | gitppc64le | Advisory build | 2.31.1-6.el9_0.1 | RHSA-2025:11796 |
| Red Hat Enterprise Linux | RHEL-9 | gitppc64le | Advisory build | 2.39.5-1.el9_2.2 | RHSA-2025:11795 |
| Red Hat Enterprise Linux | RHEL-9 | gitppc64le | Advisory build | 2.43.5-1.el9_4.2 | RHSA-2025:11686 |
| Red Hat Enterprise Linux | RHEL-9 | gitppc64le | Advisory build | 2.47.3-1.el9_6 | RHSA-2025:11462 |
| Red Hat Enterprise Linux | RHEL-9 | gits390x | Advisory build | 2.31.1-6.el9_0.1 | RHSA-2025:11796 |
| Red Hat Enterprise Linux | RHEL-9 | gits390x | Advisory build | 2.39.5-1.el9_2.2 | RHSA-2025:11795 |
| Red Hat Enterprise Linux | RHEL-9 | gits390x | Advisory build | 2.43.5-1.el9_4.2 | RHSA-2025:11686 |
| Red Hat Enterprise Linux | RHEL-9 | gits390x | Advisory build | 2.47.3-1.el9_6 | RHSA-2025:11462 |
| Red Hat Enterprise Linux | RHEL-9 | gitsrc | Advisory build | 2.31.1-6.el9_0.1 | RHSA-2025:11796 |
| Red Hat Enterprise Linux | RHEL-9 | gitsrc | Advisory build | 2.39.5-1.el9_2.2 | RHSA-2025:11795 |
| Red Hat Enterprise Linux | RHEL-9 | gitsrc | Advisory build | 2.43.5-1.el9_4.2 | RHSA-2025:11686 |
| Red Hat Enterprise Linux | RHEL-9 | gitsrc | Advisory build | 2.47.3-1.el9_6 | RHSA-2025:11462 |
| Red Hat Enterprise Linux | RHEL-9 | gitx86_64 | Advisory build | 2.31.1-6.el9_0.1 | RHSA-2025:11796 |
| Red Hat Enterprise Linux | RHEL-9 | gitx86_64 | Advisory build | 2.39.5-1.el9_2.2 | RHSA-2025:11795 |
| Red Hat Enterprise Linux | RHEL-9 | gitx86_64 | Advisory build | 2.43.5-1.el9_4.2 | RHSA-2025:11686 |
| Red Hat Enterprise Linux | RHEL-9 | gitx86_64 | Advisory build | 2.47.3-1.el9_6 | RHSA-2025:11462 |
| SUSE / openSUSE | SLE-12-SP5 | gitppc64le | Advisory build | 2.26.2-27.81.1 | SUSE-SU-2025:03022-1 |
| SUSE / openSUSE | SLE-12-SP5 | gits390x | Advisory build | 2.26.2-27.81.1 | SUSE-SU-2025:03022-1 |
| SUSE / openSUSE | SLE-12-SP5 | gitx86_64 | Advisory build | 2.26.2-27.81.1 | SUSE-SU-2025:03022-1 |
| SUSE / openSUSE | SLE-15-SP3 | gitaarch64 | Advisory build | 2.43.7-150300.10.51.1 | SUSE-SU-2025:03037-1 |
| SUSE / openSUSE | SLE-15-SP3 | gitppc64le | Advisory build | 2.43.7-150300.10.51.1 | SUSE-SU-2025:03037-1 |
| SUSE / openSUSE | SLE-15-SP3 | gits390x | Advisory build | 2.43.7-150300.10.51.1 | SUSE-SU-2025:03037-1 |
| SUSE / openSUSE | SLE-15-SP3 | gitx86_64 | Advisory build | 2.43.7-150300.10.51.1 | SUSE-SU-2025:03037-1 |
| SUSE / openSUSE | SLE-15-SP4 | gitaarch64 | Advisory build | 2.43.7-150300.10.51.1 | SUSE-SU-2025:03037-1 |
| SUSE / openSUSE | SLE-15-SP4 | gitppc64le | Advisory build | 2.43.7-150300.10.51.1 | SUSE-SU-2025:03037-1 |
| SUSE / openSUSE | SLE-15-SP4 | gits390x | Advisory build | 2.43.7-150300.10.51.1 | SUSE-SU-2025:03037-1 |
| SUSE / openSUSE | SLE-15-SP4 | gitx86_64 | Advisory build | 2.43.7-150300.10.51.1 | SUSE-SU-2025:03037-1 |
| SUSE / openSUSE | SLE-15-SP5 | gitaarch64 | Advisory build | 2.43.7-150300.10.51.1 | SUSE-SU-2025:03037-1 |
| SUSE / openSUSE | SLE-15-SP5 | gitppc64le | Advisory build | 2.43.7-150300.10.51.1 | SUSE-SU-2025:03037-1 |
| SUSE / openSUSE | SLE-15-SP5 | gits390x | Advisory build | 2.43.7-150300.10.51.1 | SUSE-SU-2025:03037-1 |
| SUSE / openSUSE | SLE-15-SP5 | gitx86_64 | Advisory build | 2.43.7-150300.10.51.1 | SUSE-SU-2025:03037-1 |
| SUSE / openSUSE | SLE-15-SP6 | gitaarch64 | Advisory build | 2.51.0-150600.3.12.1 | SUSE-SU-2025:03012-1 |
| SUSE / openSUSE | SLE-15-SP6 | gitppc64le | Advisory build | 2.51.0-150600.3.12.1 | SUSE-SU-2025:03012-1 |
| SUSE / openSUSE | SLE-15-SP6 | gits390x | Advisory build | 2.51.0-150600.3.12.1 | SUSE-SU-2025:03012-1 |
| SUSE / openSUSE | SLE-15-SP6 | gitx86_64 | Advisory build | 2.51.0-150600.3.12.1 | SUSE-SU-2025:03012-1 |
| SUSE / openSUSE | SLE-15-SP7 | gitaarch64 | Advisory build | 2.51.0-150600.3.12.1 | SUSE-SU-2025:03012-1 |
| SUSE / openSUSE | SLE-15-SP7 | gitppc64le | Advisory build | 2.51.0-150600.3.12.1 | SUSE-SU-2025:03012-1 |
| SUSE / openSUSE | SLE-15-SP7 | gits390x | Advisory build | 2.51.0-150600.3.12.1 | SUSE-SU-2025:03012-1 |
| SUSE / openSUSE | SLE-15-SP7 | gitx86_64 | Advisory build | 2.51.0-150600.3.12.1 | SUSE-SU-2025:03012-1 |
| SUSE / openSUSE | SLE-5 | gitaarch64 | Advisory build | 2.43.7-150300.10.51.1 | SUSE-SU-2025:03037-1 |
| SUSE / openSUSE | SLE-5 | gitppc64le | Advisory build | 2.43.7-150300.10.51.1 | SUSE-SU-2025:03037-1 |
| SUSE / openSUSE | SLE-5 | gits390x | Advisory build | 2.43.7-150300.10.51.1 | SUSE-SU-2025:03037-1 |
| SUSE / openSUSE | SLE-5 | gitx86_64 | Advisory build | 2.43.7-150300.10.51.1 | SUSE-SU-2025:03037-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | gitaarch64 | Advisory build | 2.51.0-150600.3.12.1 | SUSE-SU-2025:03012-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | gitppc64le | Advisory build | 2.51.0-150600.3.12.1 | SUSE-SU-2025:03012-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | gits390x | Advisory build | 2.51.0-150600.3.12.1 | SUSE-SU-2025:03012-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | gitx86_64 | Advisory build | 2.51.0-150600.3.12.1 | SUSE-SU-2025:03012-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gitaarch64 | Advisory build | 2.50.1-1.1 | OPENSUSE-SU-2025:15337-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gitppc64le | Advisory build | 2.50.1-1.1 | OPENSUSE-SU-2025:15337-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gits390x | Advisory build | 2.50.1-1.1 | OPENSUSE-SU-2025:15337-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gitx86_64 | Advisory build | 2.50.1-1.1 | OPENSUSE-SU-2025:15337-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| git | git | < 2.43.7 (affected)>= 2.44.0-rc0, < 2.44.4 (affected)>= 2.45.0-rc0, < 2.45.4 (affected)>= 2.46.0-rc0, < 2.46.4 (affected)>= 2.47.0-rc0, < 2.47.3 (affected)>= 2.48.0-rc0, < 2.48.2 (affected)>= 2.49.0-rc0, < 2.49.1 (affected)>= 2.50.0-rc0, < 2.50.1 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-436 CWE-436: Interpretation Conflict
- CWE-59 CWE-59: Improper Link Resolution Before File Access ('Link Following')
References
5- http://seclists.org/fulldisclosure/2025/Sep/60
- http://www.openwall.com/lists/oss-security/2025/07/08/4
- https://github.com/git/git/security/advisories/GHSA-vwqx-4fm8-6qc9
- https://lists.debian.org/debian-lts-announce/2025/10/msg00003.html
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-48384
Provider assertions
3GitHub_M · cna
Git allows arbitrary code execution through broken config quoting
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 70793640b3151a2ef421c6a6d90ff82566d72debc7813a15e7e0012a87df4c91
- Ingested
- 23 Sep 2026, 08:50:38 UTC
- Source record
- Official CVE record