External Control of File Name or Path in GitPython - #VU140585

 

External Control of File Name or Path in GitPython - #VU140585

Published: July 31, 2026


Vulnerability identifier: #VU140585
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: N/A
CWE-ID: CWE-73
Exploitation vector: Remote access
Exploit availability: No public exploit available
Affected software:
GitPython

Detailed vulnerability description

The vulnerability allows a remote user to disclose sensitive information.

The vulnerability exists due to external control of file name or path in Repo.archive() when processing caller-influenced archive options. A remote user can supply a crafted --add-file option to disclose sensitive information.

Exploitation requires an application to forward caller-influenced keyword arguments into Repo.archive().


Remediation

Install security update from vendor's website.

Sources