Git
Git allows arbitrary code execution through broken config quoting
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 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 2.43.7, 2.44.4, 2.45.4, 2.46.4, 2.47.3, 2.48.2, 2.49.1, 2.50.1
Mitigation
Upgrade git to 2.43.7 or 2.44.4 or 2.45.4 or 2.46.4 or 2.47.3 or 2.48.2 or 2.49.1 or 2.50.1 or later.
References
- Vendor advisory github.com/git/git/security/advisories/GHSA-vw…
Timeline
Days relative to CVE publicationFirst public PoC 52 days after publication; added to CISA KEV 48 days after publication. First PoC: arun1033/CVE-2025-48384 (created 29 Aug 2025, found by us: backfilled).
PoC repositories
Found on GitHub.4 PoCs · 13 pending · 38 informational
PoCs 4
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| arun1033/CVE-2025-48384 | 29 Aug 2025 +52 d | 0 | PoC |
| EdwardYeIntrix/CVE-2025-48384-Scanner | 9 Sep 2025 +62 d | 0 | Scanner
Flags · score 45
Below the suspicion threshold (50); does not change the assessment. |
| s41r4j/CVE-2025-48384 | 12 Sep 2025 +66 d | 0 | PoC |
| vignesh21-git/CVE-2025-48384 | 14 Dec 2025 +159 d | 0 | PoC |
Pending 13
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| p1026/CVE-2025-48384 | 11 Jul 2025 +2.5 d | backfilled | 0 | Pending · repository unavailable (HTTP 404) |
| simplyfurious/CVE-2025-48384-submodule_test | 17 Jul 2025 +9 d | backfilled | 0 | Pending · repository unavailable (HTTP 404) |
| mukesh-610/cve-2025-48384-exploit | 14 Oct 2025 +98 d | backfilled | 0 | Pending |
| sathish46-lab/CVE-2025-48384-submodule | 7 Apr 2026 +273 d | backfilled | 0 | Pending |
| Fomovet/cve-2025-48384 | 21 Jun 2026 +348 d | backfilled | 0 | Pending · repository unavailable (HTTP 404) |
| origabriel/acb-giturl-cve2025 | 3 Nov 2026 +1.3 y | 14 Nov 2026 | 0 | Pending |
| xssdoctor/muse-git-cve-2025-48384-sub-20261113 | 13 Nov 2026 +1.3 y | 14 Nov 2026 | 0 | Pending |
| xssdoctor/muse-git-cve-2025-48384-parent-20261113 | 13 Nov 2026 +1.3 y | 14 Nov 2026 | 0 | Pending |
| airkewld/cve-2025-48384 | unknown | backfilled | 0 | Pending · repository unavailable (HTTP 404) |
| airkewld/cve-2025-48384-submodule | unknown | backfilled | 0 | Pending · repository unavailable (HTTP 404) |
| f1shh/CVE-2025-48384 | unknown | backfilled | 0 | Pending · repository unavailable (HTTP 404) |
| jideasn/cve-2025-48384 | unknown | backfilled | 0 | Pending · repository unavailable (HTTP 404) |
| wzx5002/CVE-2025-48384 | unknown | backfilled | 0 | Pending · repository unavailable (HTTP 404) |
Informational 38
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| acheong08/CVE-2025-48384 | 8 Jul 2025 +4 h | 53 | Informational · write-up |
| fishyyh/CVE-2025-48384 | 9 Jul 2025 +15 h | 0 | Informational · write-up |
| kallydev/cve-2025-48384-hook | 9 Jul 2025 +19 h | 0 | Informational · write-up |
| fishyyh/CVE-2025-48384-POC | 9 Jul 2025 +19 h | 0 | Informational · write-up |
| liamg/CVE-2025-48384-submodule | 9 Jul 2025 +22 h | 0 | Informational · write-up |
| liamg/CVE-2025-48384 | 9 Jul 2025 +22 h | 22 | Informational · write-up |
| ppd520/CVE-2025-48384 | 9 Jul 2025 +1 d | 0 | Informational · write-up |
| NigelX/CVE-2025-48384 | 10 Jul 2025 +1.3 d | 0 | Informational · write-up |
| greatyy/CVE-2025-48384-p | 10 Jul 2025 +1.6 d | 0 | Informational · write-up |
| testdjshan/CVE-2025-48384 | 10 Jul 2025 +1.6 d | 0 | Informational · write-up |
| altm4n/cve-2025-48384 | 10 Jul 2025 +1.8 d | 0 | Informational · write-up |
| altm4n/cve-2025-48384-hub | 10 Jul 2025 +1.8 d | 0 | Informational · list |
| vinieger/vinieger-CVE-2025-48384-Dockerfile | 11 Jul 2025 +2.7 d | 1 | Informational · write-up |
| ECHO6789/CVE-2025-48384-submodule | 15 Jul 2025 +6.8 d | 0 | Informational · write-up |
| nguyentranbaotran/cve-2025-48384-poc | 16 Jul 2025 +7.4 d | 0 | Informational · write-up
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
| admin-ping/CVE-2025-48384-RCE | 17 Jul 2025 +8.3 d | 0 | Informational · write-up |
| Anezatraa/CVE-2025-48384-submodule | 19 Jul 2025 +11 d | 0 | Informational · write-up |
| IK-20211125/CVE-2025-48384 | 20 Jul 2025 +12 d | 1 | Informational · write-up |
| elprogramadorgt/CVE-2025-48384 | 25 Jul 2025 +16 d | 0 | Informational · write-up |
| fluoworite/CVE-2025-48384 | 3 Aug 2025 +25 d | 0 | Informational · write-up |
| fluoworite/CVE-2025-48384-sub | 3 Aug 2025 +25 d | 0 | Informational · write-up |
| beishanxueyuan/CVE-2025-48384 | 3 Aug 2025 +26 d | 0 | Informational · write-up |
| beishanxueyuan/CVE-2025-48384-test | 4 Aug 2025 +26 d | 1 | Informational · write-up |
| replicatorbot/CVE-2025-48384 | 20 Aug 2025 +43 d | 0 | Informational · write-up
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
| replicatorbot/CVE-2025-48384-POC | 20 Aug 2025 +43 d | 0 | Informational · write-up
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
| eliox01/CVE-2025-48384 | 25 Aug 2025 +48 d | 0 | Informational · write-up |
| jacobholtz/CVE-2025-48384-poc | 28 Aug 2025 +51 d | 0 | Informational · write-up |
| jacobholtz/CVE-2025-48384-submodule | 28 Aug 2025 +51 d | 0 | Informational · write-up |
| butyraldehyde/CVE-2025-48384-PoC-Part2 | 28 Aug 2025 +51 d | 0 | Informational · write-up |
| butyraldehyde/CVE-2025-48384-PoC | 28 Aug 2025 +51 d | 0 | Informational · write-up |
| s41r4j/CVE-2025-48384-submodule | 13 Sep 2025 +66 d | 0 | Informational · write-up |
| mukesh-610/cve-2025-48384 | 14 Oct 2025 +98 d | 0 | Informational · write-up |
| MarcoTondolo/cve-2025-48384-poc | 31 Oct 2025 +115 d | 0 | Informational · write-up |
| zr0n/CVE-2025-48384-sub | 4 Dec 2025 +149 d | 3 | Informational · write-up |
| zr0n/CVE-2025-48384-main | 4 Dec 2025 +149 d | 2 | Informational · write-up |
| vignesh21-git/CVE-2025-48384-submodule | 14 Dec 2025 +159 d | 0 | Informational · write-up |
| testtianmaaaa/CVE-2025-48384 | 5 Jun 2026 +332 d | 0 | Informational · write-up |
| fishjojo1/devin-cve48384-1789318364-1162143-parent | 13 Sep 2026 +1.2 y | 0 | Informational · write-up |
Only PoCs count toward the first-PoC date and the characteristics below. "Backfilled" means we found the repository more than 30 days after it was created. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 4 PoC reposPOST /
- Body markers
$(cat /root/flag.txt)=inapplication/x-www-form-urlencoded- Seen in
- 1 repo: s41r4j/CVE-2025-48384
- Evidence
- s41r4j/CVE-2025-48384/CTF/Implementation.md:39 s41r4j/CVE-2025-48384/CTF/Malicious-Git-Repo.md:186
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-48384 git git exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.request_body; content:"$(cat /root/flag.txt)="; reference:url,poc.griffinguard.io/cve/CVE-2025-48384; classtype:web-application-attack; sid:9042724; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: git git exploit attempt (CVE-2025-48384)
id: gg-pocmon-cve-2025-48384-9042724
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-48384. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-48384
logsource:
category: webserver
detection:
selection:
cs-method: POST
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2025.48384