# CVE-2025-48384: Git Link Following Vulnerability

- Priority: **Act now**
- Reason: Listed as exploited by CISA (25-08-2025)
- Next step: Check the vendor advisory
- Status: published
- Published: 2025-07-08 · Modified: 2026-02-26
- Aliases: ALPINE-CVE-2025-48384, RHSA-2025:11688, RHSA-2025:11793, RHSA-2025:11796, RHSA-2025:11800, RHSA-2025:11801, UBUNTU-CVE-2025-48384, DEBIAN-CVE-2025-48384
- Record: https://cvemate.com/vulnerability/CVE-2025-48384 · JSON: https://cvemate.com/vulnerability/CVE-2025-48384/json

## Description

```text
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.
```

## Signals

- CVSS: 8.1 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
- EPSS: 4.508%, percentile 91.766%, as of 2026-12-04
- Known exploited (KEV): CISA listed 2025-08-25, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 35)

- alpine git (Alpine Linux): ≥ 2.44.0, \< 2.43.7-r0 \| ≥ 2.44.0, \< 2.45.4-r0 \| ≥ 2.44.0, \< 2.47.3-r0 \| ≥ 2.44.0, \< 2.49.1-r0 \| ≥ 2.44.0, \< 2.50.1-r0 \| \< 2.43.7-r0 \| ≥ 2.45.0, \< 2.45.4-r0 \| ≥ 2.47.0, \< 2.47.3-r0 \| ≥ 2.49.0, \< 2.49.1-r0 \| ≥ 2.50.0, \< 2.50.1-r0
- apple xcode: \< 26.0
- debian git (Debian): \< 1:2.39.5-0+deb12u3 \| \< 1:2.47.3-0+deb13u1 \| \< 1:2.50.1-0.1
- ubuntu git (Ubuntu): \< 1:2.7.4-0ubuntu1.10+esm9 \| \< 1:2.17.1-1ubuntu0.18+esm2 \| \< 1:2.25.1-1ubuntu3.14+esm1 \| \< 1:2.34.1-1ubuntu1.13 \| \< 1:2.43.0-1ubuntu7.3
- debian debian\_linux: 11.0
- git-scm git: \< 2.43.7 \| ≥ 2.44.0, \< 2.44.4 \| ≥ 2.45.0, \< 2.45.4 \| ≥ 2.46.0, \< 2.46.4 \| ≥ 2.47.0, \< 2.47.3 \| ≥ 2.48.0, \< 2.48.2 \| ≥ 2.49.0, \< 2.49.1 \| ≥ 2.50.0, \< 2.50.1
- 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
- redhat emacs-git (Red Hat): \< 0:1.8.3.1-25.el7\_9.1
- redhat emacs-git-el (Red Hat): \< 0:1.8.3.1-25.el7\_9.1
- redhat git (Red Hat): \< 0:1.8.3.1-25.el7\_9.1 \| \< 0:2.18.4-5.el8\_2.1 \| \< 0:2.31.1-6.el9\_0.1 \| \< 0:2.27.0-5.el8\_4.1 \| \< 0:2.31.8-3.el8\_6.1
- redhat git-all (Red Hat): \< 0:1.8.3.1-25.el7\_9.1 \| \< 0:2.18.4-5.el8\_2.1 \| \< 0:2.31.1-6.el9\_0.1 \| \< 0:2.27.0-5.el8\_4.1 \| \< 0:2.31.8-3.el8\_6.1
- redhat git-bzr (Red Hat): \< 0:1.8.3.1-25.el7\_9.1
- redhat git-core (Red Hat): \< 0:2.18.4-5.el8\_2.1 \| \< 0:2.31.1-6.el9\_0.1 \| \< 0:2.27.0-5.el8\_4.1 \| \< 0:2.31.8-3.el8\_6.1
- redhat git-core-debuginfo (Red Hat): \< 0:2.18.4-5.el8\_2.1 \| \< 0:2.31.1-6.el9\_0.1 \| \< 0:2.27.0-5.el8\_4.1 \| \< 0:2.31.8-3.el8\_6.1
- redhat git-core-doc (Red Hat): \< 0:2.18.4-5.el8\_2.1 \| \< 0:2.31.1-6.el9\_0.1 \| \< 0:2.27.0-5.el8\_4.1 \| \< 0:2.31.8-3.el8\_6.1
- redhat git-credential-libsecret (Red Hat): \< 0:2.31.1-6.el9\_0.1 \| \< 0:2.27.0-5.el8\_4.1 \| \< 0:2.31.8-3.el8\_6.1
- redhat git-credential-libsecret-debuginfo (Red Hat): \< 0:2.31.1-6.el9\_0.1 \| \< 0:2.27.0-5.el8\_4.1 \| \< 0:2.31.8-3.el8\_6.1
- redhat git-cvs (Red Hat): \< 0:1.8.3.1-25.el7\_9.1
- redhat git-daemon (Red Hat): \< 0:1.8.3.1-25.el7\_9.1 \| \< 0:2.18.4-5.el8\_2.1 \| \< 0:2.31.1-6.el9\_0.1 \| \< 0:2.27.0-5.el8\_4.1 \| \< 0:2.31.8-3.el8\_6.1
- redhat git-daemon-debuginfo (Red Hat): \< 0:2.18.4-5.el8\_2.1 \| \< 0:2.31.1-6.el9\_0.1 \| \< 0:2.27.0-5.el8\_4.1 \| \< 0:2.31.8-3.el8\_6.1

## References (first 20 of 29)

- <https://github.com/git/git/security/advisories/GHSA-vwqx-4fm8-6qc9>
- <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-48384>
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00003.html>
- <http://seclists.org/fulldisclosure/2025/Sep/60>
- <http://www.openwall.com/lists/oss-security/2025/07/08/4>
- <https://security.alpinelinux.org/vuln/CVE-2025-48384>
- <https://access.redhat.com/errata/RHSA-2025:11688>
- <https://access.redhat.com/security/updates/classification/#important>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2378806>
- <https://issues.redhat.com/browse/RHEL-61651>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_11688.json>
- <https://access.redhat.com/security/cve/CVE-2025-48384>
- <https://www.cve.org/CVERecord?id=CVE-2025-48384>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-48384>
- <https://dgl.cx/2025/07/git-clone-submodule-cve-2025-48384>
- <https://github.com/git/git/commit/05e9cd64ee23bbadcea6bcffd6660ed02b8eab89>
- <https://www.cisa.gov/known-exploited-vulnerabilities-catalog>
- <https://access.redhat.com/errata/RHSA-2025:11793>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_11793.json>
- <https://access.redhat.com/errata/RHSA-2025:11796>

---

Data as of 2026-12-05T02:36:05.393Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
