CVE-2025-48384
Git allows arbitrary code execution through broken config quoting
Exploitation confirmed. First attested on 2025-08-25 by CISA-ADP, CISA KEV, GCVE · kevintel.
- Published2025-07-08
- Fixed in2.50.1 · 2.49.1 · 2.48.2 · 2.47.3 · 2.46.4 · 2.45.4
- WeaknessCWE-436 · CWE-59
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTCVersions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2.50 | ≥ 2.50.0, < 2.50.1 | 2.50.1 | NVD |
| 2.50 | < 2.50.1 | 2.50.1 | OSV |
| 2.49 | ≥ 2.49.0, < 2.49.1 | 2.49.1 | NVD |
| 2.48 | ≥ 2.48.0, < 2.48.2 | 2.48.2 | NVD |
| 2.47 | ≥ 2.47.0, < 2.47.3 | 2.47.3 | NVD |
| 2.46 | ≥ 2.46.0, < 2.46.4 | 2.46.4 | NVD |
| 2.45 | ≥ 2.45.0, < 2.45.4 | 2.45.4 | NVD |
| 2.44 | ≥ 2.44.0, < 2.44.4 | 2.44.4 | NVD |
| 2.43 | < 2.43.7 | 2.43.7 | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 26.0 | < 26.0 | 26.0 | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 11.0 | = 11.0 | no fix published | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- gitAffected
- = < 2.43.7no fix stated
- = >= 2.44.0-rc0, < 2.44.4no fix stated
- = >= 2.45.0-rc0, < 2.45.4no fix stated
- = >= 2.46.0-rc0, < 2.46.4no fix stated
- = >= 2.47.0-rc0, < 2.47.3no fix stated
- = >= 2.48.0-rc0, < 2.48.2no fix stated
- = >= 2.49.0-rc0, < 2.49.1no fix stated
- = >= 2.50.0-rc0, < 2.50.1no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2025-07-08
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- gitUbuntu:Pro:20.04:LTSall versions · fixed in 1:2.25.1-1ubuntu3.14+esm1
- gitUbuntu:Pro:18.04:LTSall versions · fixed in 1:2.17.1-1ubuntu0.18+esm2
- gitUbuntu:Pro:16.04:LTSall versions · fixed in 1:2.7.4-0ubuntu1.10+esm9
- gitUbuntu:24.04:LTSall versions · fixed in 1:2.43.0-1ubuntu7.3
- gitUbuntu:22.04:LTSall versions · fixed in 1:2.34.1-1ubuntu1.13
- gitTuxCare:Ubuntu:20.04all versions · fixed in 1:2.25.1-1ubuntu3.14+tuxcare.els1and 13 other packages
- gitTuxCare:Ubuntu:18.04all versions · fixed in 1:2.17.1-1ubuntu0.18+tuxcare.els6and 13 other packages
- gitTuxCare:Ubuntu:16.04all versions · fixed in 1:2.7.4-0ubuntu1.10+tuxcare.els8and 15 other packages
94 more package ranges on OSV.dev
Vendor advisories
git: Git arbitrary code execution
emacs-git as a component of Red Hat Enterprise Linux 6 · emacs-git-el as a component of Red Hat Enterprise Linux 6 · git as a component of Red Hat Enterprise Linux 6 · +10 more
Red Hat Security Advisory: OpenShift Container Platform 4.13.60 bug fix and security update
Red Hat Security Advisory: updated web-terminal/tooling container image
Red Hat Security Advisory: updated web-terminal/tooling container image
Red Hat Security Advisory: OpenShift Container Platform 4.12.80 bug fix and security update
Red Hat Security Advisory: OpenShift Container Platform 4.16.47 bug fix and security update
16 more advisories
Fix
- Update Git-scm git to 2.50.1 · 2.49.1 · 2.48.2 · 2.47.3 · 2.46.4 · 2.45.4 · 2.44.4 · 2.43.7
- CISA’s required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.due 2025-09-15
- Vendor fix Red Hat Product Security RHSA-2025:15672 · 1 productFor OpenShift Container Platform 4.13 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.redhat.com/en/documentation/openshift_container_platform/4.…
- Vendor fix Red Hat Product Security RHSA-2025:15828 · 2 productsThe Red Hat Web Terminal 1.11 on RHEL 9 container images provided by this update can be downloaded from the Red Hat Container Registry at registry.access.redhat.com. Installation instructions for your platform are available at Red Hat Container Catalog (see References). Dockerfiles and scripts sho…
- Vendor fix Red Hat Product Security RHSA-2025:15827 · 1 productBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2025:15308 · 1 productFor OpenShift Container Platform 4.12 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous erratamupdate: https://docs.redhat.com/en/documentation/openshift_container_platform/4.…
- Vendor fix Red Hat Product Security RHSA-2025:14858 · 4 productsFor OpenShift Container Platform 4.16 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.redhat.com/en/documentation/openshift_container_platform/4.…
- Vendor fix Red Hat Product Security RHSA-2025:14853 · 4 productsFor OpenShift Container Platform 4.14 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.redhat.com/en/documentation/openshift_container_platform/4.…
Advisories and patches
- github.comVendor Advisory
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHub20 repositories, unverifiedknown since 2026-11-01acheong08/CVE-2025-48384fishyyh/CVE-2025-48384kallydev/cve-2025-48384-hookfishyyh/CVE-2025-48384-POCliamg/CVE-2025-48384-submodule
- Metasploit modules
- none listed Metasploit Framework
CISA Known Exploited Vulnerability
- Date Added
- 2025-08-25
- Patch Due Date
- 2025-09-15
- Ransomware Use
- Unknown
- Required Action
- Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Sources
- NVDCVE recordread 2026-10-23
- CISA KEVKEV entry2025-08-25
- ENISA EUVDexploitation2025-08-252025-08-25
- GCVEexploitation2025-08-25
- CISA-ADPSSVC decisionactive2025-08-26
- CNACVSS 3.18known since 2026-10-23
- CNAweakness (CWE)CWE-436, CWE-59known since 2026-10-23
- FIRST EPSSEPSS score4.5 %2026-11-18
- PoC-in-GitHubproof of concept20known since 2026-11-01
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- AZL-65043same flawAzure Linux · MIT
- AZL-65057same flawAzure Linux · MIT
- BIT-git-2025-48384same flawBitnami · Apache-2.0
- EUVD-2025-20677same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-vwqx-4fm8-6qc9same flawGitHub Advisory Database · CC-BY-4.0
- MINI-3pc6-php8-fx8hsame flawMinimOS · LicenseRef-unstated
- ALSA-2025:11462advisory covering several CVEsAlmaLinux · MIT
- ALSA-2025:11533advisory covering several CVEsAlmaLinux · MIT
- ALSA-2025:11534advisory covering several CVEsAlmaLinux · MIT
- DLA-4323-1advisory covering several CVEsDebian · LicenseRef-unstated
- OESA-2025-1792advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-1793advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-1844advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-1845advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-1846advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2025-1847advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-4067advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-4068advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-4069advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2025:15337-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2025:11462advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:11533advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:11534advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:11686advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:11688advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:11793advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:11794advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:11795advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:11796advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:11800advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2025:11801advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2025:11462advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2025:11534advisory covering several CVEsRocky Linux · BSD-3-Clause
- SUSE-SU-2025:03012-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:03022-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:03037-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:20721-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2025:20855-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-7626-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 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
- NVD status
- Analyzed
- GitHub Advisory
- GHSA-vwqx-4fm8-6qc9
Frequently asked questions
What is CVE-2025-48384?
Is CVE-2025-48384 actively exploited?
What is the CVSS score for CVE-2025-48384?
Running git? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- For a threat intelligence platform: malware, C2 and ransomware indicators over STIX/TAXII.
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2022-23521same product
- CVE-2023-25652same product
- CVE-2022-41903same product
- CVE-2024-32002same productGit's recursive clones on case-insensitive filesystems that support symlinks are susceptible to Remote Code Execution
- CVE-2020-5260same product
- CVE-2023-29007same product
- CVE-2022-25648same product
- CVE-2022-39260same product
Sources for this record
- CISA KEV · CC0-1.0 (cisagov/kev-data)
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GCVE · GCVE dump terms (preserve source attribution)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-vwqx-4fm8-6qc9
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OpenCVE · OpenCVE terms of service · terms restrict redistribution
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0