Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2025-48384

Git allows arbitrary code execution through broken config quoting
Back to all
CVE

CVE-2025-48384

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.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
8
-
3.1
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
C
H
U
-

Related Resources

No items found.

References

http://seclists.org/fulldisclosure/2025/Sep/60, http://www.openwall.com/lists/oss-security/2025/07/08/4, https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/48xxx/CVE-2025-48384.json, https://github.com/git/git/security/advisories/GHSA-vwqx-4fm8-6qc9, https://lists.debian.org/debian-lts-announce/2025/10/msg00003.html, https://nvd.nist.gov/vuln/detail/CVE-2025-48384, https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-48384

Severity

8

CVSS Score
0
10

Basic Information

Ecosystem
Base CVSS
8
EPSS Probability
0.00458%
EPSS Percentile
0.63422%
Introduced Version
0,2.44.0,2.45.0,2.46.0,2.47.0,2.48.0,2.49.0,2.50.0
Fix Available
9022eb323edaad8654d79b9d325d9429a53763d9,7a1903ad46b5cc7524c0734a5034dccaec07209b,0:2.43.7-1.el8_10,0:2.47.3-1.el9_6,1:2.30.2-1+deb11u5,1:2.47.3-0+deb13u1,1:2.43.0-1ubuntu7.3,1:2.17.1-1ubuntu0.18+esm2,1:2.25.1-1ubuntu3.14+esm1,1:2.34.1-1ubuntu1.13,2.43.7,2.44.4,2.45.4,2.46.4,2.47.3,2.48.2,2.49.1,2.50.1,2.49.1-r0,2.50.1-r0,2.43.7-r0,2.47.3-r0,2.45.4-r0,0:1.8.3.1-25.0.1.el7_9,0:2.47.3-1.amzn2.0.1,0:2.50.1-1.amzn2023.0.1

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading