CVE-2026-73619
HIGH 7.1CVSS 4.0GitPython: Incomplete unsafe_git_archive_options denylist omits --add-file / --add-virtual-file, enabling arbitrary file read via Repo.archive()
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.
- Published
- 13 Aug 2026
- Last modified
- 24 Oct 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Analyzed
- Weakness
- CWE-200CWE-73
- Also known as
- GHSA-539m-9xh6-q6rrPYSEC-2026-3948
- Sources
- NVDJSONOSV GHSA-539m-9xh6-q6rrJSONOSV PYSEC-2026-3948JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | HIGH 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | PyPA | CVSS 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gitpython_project | gitpythoncpe:2.3:a:gitpython_project:gitpython:*:*:*:*:*:python:*:* |
< 3.1.57 | 3.1.57 |
| OSV | PyPI | gitpython | < 3.1.57 | 3.1.57 |
References
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-539m-9xh6-q6rr · Exploit, Vendor Advisory, WEB, EVIDENCE
- https://www.vulncheck.com/advisories/gitpython-before-arbitrary-file-read-via-repo-archive · Third Party Advisory, ADVISORY
- https://github.com/gitpython-developers/GitPython/pull/2193 · WEB
- https://github.com/gitpython-developers/GitPython/commit/7a4f5dcb7bf3cbcbf6e438017efcdfe0bc0d36ca · WEB
- https://github.com/gitpython-developers/GitPython · PACKAGE
- https://github.com/gitpython-developers/GitPython/releases/tag/3.1.57 · WEB
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 13 Aug 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Aug 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 3 Aug 2026)