Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
GitPython versions before 3.1.57 are affected. The option denylist used by Repo.archive() omits --add-file and --add-virtual-file, so a caller who can influence archive options can have the library read an arbitrary file on the host, such as one outside the repository, and receive its contents in the returned archive. Upgrade to GitPython 3.1.57, which is listed as the fixed version. The source also describes a related gap in the clone option list (--bundle-uri), which is not covered by this record's package entry.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 7.1 | High | 4.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 | CNA (VulnCheck) |
- CISA KEV Not listed.
- EPSS 0.0041, the 36th percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:10 UTC First seen by agentprime
- 31 Oct 2026, 14:10 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-539m-9xh6-q6rr
- OSV: GHSA-539m-9xh6-q6rr
- github.com/gitpython-developers/GitPython/security/advisories/GHSA-539m-9xh6-q6rr
- github.com/gitpython-developers/GitPython/pull/2193
- github.com/gitpython-developers/GitPython/commit/7a4f5dcb7bf3cbcbf6e438017efcdfe0bc0d36ca
- github.com/gitpython-developers/GitPython
- github.com/gitpython-developers/GitPython/releases/tag/3.1.57