CVE-2023-23946: Git, a revision control system, is vulnerable to path traversal prior to versions 2.39.2, 2.38.4, 2.37.6, 2.36
CVE-2023-23946 is a medium-severity flaw (CVSS 6.2) affecting git. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Git, a revision control system, is vulnerable to path traversal prior to versions 2.39.2, 2.38.4, 2.37.6, 2.36.5, 2.35.7, 2.34.7, 2.33.7, 2.32.6, 2.31.7, and 2.30.8. By feeding a crafted input to `git apply`, a path outside the working tree can be overwritten as the user who is running `git apply`. A fix has been prepared and will appear in v2.39.2, v2.38.4, v2.37.6, v2.36.5, v2.35.7, v2.34.7, v2.33.7, v2.32.6, v2.31.7, and v2.30.8. As a workarou
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.2 (Medium) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.1% (top 34%) |
| CISA exploited list | No |
| Weakness | CWE-22 |
| Published | 2023-02-14 |
| Last modified | 2026-10-08 |
Last updated 2026-10-08 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2023-23946?
git: upgrade to 2.30.8, 2.31.7, 2.32.6, 2.33.7, 2.34.7, 2.35.7, 2.36.5, 2.37.6, 2.38.4, 2.39.2. Exact commands for each OS are on this page.
Is CVE-2023-23946 being exploited?
CVE-2023-23946 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2023-23946 affect?
CVE-2023-23946 affects git. Severity is medium (CVSS 6.2). Git, a revision control system, is vulnerable to path traversal prior to versions 2.39.2, 2.38.4, 2.37.6, 2.36.5, 2.35.7, 2.34.7, 2.33.7, 2.32.6, 2.31.7, and 2.30.8. By feeding a crafted input to `git apply`, a path outside the working tree
How urgent is CVE-2023-23946?
Priority 38/100. No elevated risk signals yet.
Software pages
Related CVEs
- CVE-2023-22490 MEDIUM 5.5 UPGRADE Git is a revision control system
- CVE-2025-48384 HIGH 8.0 EXPLOITED UPGRADE MITIGATE Git Link Following Vulnerability
- CVE-2025-66413 HIGH 7.4 UPGRADE Git for Windows is the Windows port of Git
- CVE-2024-52006 HIGH 7.5 UPGRADE MITIGATE Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides
- CVE-2024-52005 HIGH 8.8 UPGRADE Git is a source code management tool