{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-48384","id":"CVE-2025-48384","title":"Git allows arbitrary code execution through broken config quoting","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 initializ","descriptionLong":"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.","published":"2025-07-08T18:23:48.710Z","updated":"2026-11-05T03:29:02.924831195Z","reserved":"2025-05-19T15:46:00.397Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["git"],"affectedProducts":[{"vendor":"git","product":"git","defaultStatus":null,"versions":[{"version":"< 2.43.7","status":"affected"},{"version":">= 2.44.0-rc0, < 2.44.4","status":"affected"},{"version":">= 2.45.0-rc0, < 2.45.4","status":"affected"},{"version":">= 2.46.0-rc0, < 2.46.4","status":"affected"},{"version":">= 2.47.0-rc0, < 2.47.3","status":"affected"},{"version":">= 2.48.0-rc0, < 2.48.2","status":"affected"},{"version":">= 2.49.0-rc0, < 2.49.1","status":"affected"},{"version":">= 2.50.0-rc0, < 2.50.1","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-436","CWE-59"],"aliases":["BIT-git-2025-48384","GHSA-vwqx-4fm8-6qc9"],"references":[{"url":"https://github.com/git/git/security/advisories/GHSA-vwqx-4fm8-6qc9","tags":["x_refsource_CONFIRM","Vendor Advisory","advisory"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-48384","tags":["government-resource","US Government Resource","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00003.html","tags":["Mailing List","Third Party Advisory","web"]},{"url":"http://seclists.org/fulldisclosure/2025/Sep/60","tags":["Mailing List","Third Party Advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2025/07/08/4","tags":["Mailing List","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/48xxx/CVE-2025-48384.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-48384","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":true,"kevAdded":"2025-08-25","kevDue":"2025-09-15","kevEntry":{"cveID":"CVE-2025-48384","vendorProject":"Git","product":"Git","vulnerabilityName":"Git Link Following Vulnerability","dateAdded":"2025-08-25","shortDescription":"Git contains a link following vulnerability that stems from Git’s inconsistent handling of carriage return characters in configuration files.","requiredAction":"Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.","dueDate":"2025-09-15","knownRansomwareCampaignUse":"Unknown","notes":"This vulnerability affects a common open-source component, third-party library, or a protocol used by different products. For more information, please see: https://github.com/git/git/security/advisories/GHSA-vwqx-4fm8-6qc9 ; https://access.redhat.com/errata/RHSA-2025:13933 ; https://alas.aws.amazon.com/AL2/ALAS2-2025-2941.html ; https://linux.oracle.com/errata/ELSA-2025-11534.html ; https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-48384 ; https://nvd.nist.gov/vuln/detail/CVE-2025-48384","cwes":["CWE-59","CWE-436"]},"ssvc":{"exploitation":"active","automatable":"no","technicalImpact":"total"},"epss":0.04484,"epssPercentile":0.91655,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-48384","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-48384","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-48384","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"added 2025-08-25"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-48384","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":["Exploited in the wild (CISA KEV)"],"attention":null}