Insecure DLL loading in GitPython - #VU145796

 

Insecure DLL loading in GitPython - #VU145796

Published: August 26, 2026


Vulnerability identifier: #VU145796
CSH Severity: High
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-427
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code.

The vulnerability exists due to uncontrolled search path resolution in Repo.__init__ and commit hook path handling when opening or cloning a crafted repository and performing index.commit(). A remote attacker can place crafted repository-root files and a malicious hooks/pre-commit script to execute arbitrary code.

User interaction is required to open or clone the crafted repository.


Affected software

GitPython

Remediation

Install security update from vendor's website.

GitPython - update to 3.1.60

External References

Related Security Bulletins