CVE-2026-73619
7.1
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
Summary
GitPython before 3.1.57 contains an incomplete denylist in the unsafe_git_archive_options guard that omits –add-file and –add-virtual-file options. Attackers can supply these options to Repo.archive() to read arbitrary files from the filesystem and include them in the returned archive.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| gitpython-developers | GitPython | 0 < 3.1.57 | affected |
| gitpython-developers | GitPython | 3.1.57 | unaffected |
Weaknesses
- CWE-73: External Control of File Name or Path
References
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-539m-9xh6-q6rr
- https://www.vulncheck.com/advisories/gitpython-before-arbitrary-file-read-via-repo-archive
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.