Code execution via partial-clone lazy fetch
Published May 14, 2024 · Updated Nov 4, 2025
Command execution in Git allows attackers to run arbitrary commands after a user invokes Git in an untrusted repository archive. The upload-pack path in a partial repository performs a lazy fetch, allowing repository configuration and hooks to launch attacker-specified commands. Exploitation requires a user to obtain the crafted repository, such as in a ZIP file or on removable media, and then run a clone or fetch operation against it.
Summary
What happened
Command execution in Git allows attackers to run arbitrary commands after a user invokes Git in an untrusted repository archive. The upload-pack path in a partial repository performs a lazy fetch, allowing repository configuration and hooks to launch attacker-specified commands. Exploitation requires a user to obtain the crafted repository, such as in a ZIP file or on removable media, and then run a clone or fetch operation against it.
The record
- CVE
- CVE-2024-32465
- Published
- May 14, 2024
- Updated
- Nov 4, 2025
- Vendor
- Git
- Product
- Git
- Classifications
- CWE-22, T1204.002
- Attack vector
- physical
- Privileges
- unauthenticated
Timeline
How it unfolded
- May 14, 2024CVE publishedPublication date reported by the CVE source.
- Nov 4, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 2.39.4
- Affected versionversion=2.39.4* <2.39.4
- Affected versionversion=>= 2.40.0, < 2.40.2
- Affected versionversion=2.40.0 <=2.40.2
- Affected versionversion== 2.41.0
- Affected versionversion=2.41.0
- Affected versionversion=>= 2.42.0, < 2.42.2
- Affected versionversion=2.42.0 <=2.42.2
- Affected versionversion=>= 2.43.0, < 2.43.4
- Affected versionversion=2.43.0 <=2.43.4
- Affected versionversion== 2.44.0
- Affected versionversion=2.44.0
- Affected versionversion== 2.45.0
- Affected versionversion=2.45.0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo