{"id":"CVE-2026-73619","published":"2026-08-13T11:28:20Z","modified":"2026-10-08T15:24:40Z","title":"GitPython before 3.1.57 Arbitrary File Read via Repo.archive()","vendor":"gitpython-developers","product":"GitPython","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00412,"percentile":0.36338,"provenance":"source"},"cwes":[{"id":"CWE-73","name":"External Control of File Name or Path"}],"references":[{"url":"https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-539m-9xh6-q6rr","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/gitpython-before-arbitrary-file-read-via-repo-archive","tags":["third-party-advisory"]}],"priority":{"score":11.8,"factors":[{"name":"EPSS percentile","points":7.27},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"gitpython-developers","affectedVersions":[{"vendor":"gitpython-developers","product":"GitPython","versions":["< 3.1.57"]}],"fixedVersions":[{"vendor":"gitpython-developers","product":"GitPython","versions":["3.1.57"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-15T03:11:09.681784Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"gitpython","vulnerableRanges":["<3.1.57"],"patched":["3.1.57"],"from":["PYSEC-2026-3948"],"provenance":"source"}],"summary":{"text":"The flaw is an incomplete denylist in the unsafe_git_archive_options guard of GitPython, present in versions before 3.1.57, which fails to block the --add-file and --add-virtual-file options passed to Repo.archive(). An attacker who can influence the options passed to Repo.archive() with low privileges and no user interaction over the network can read arbitrary files from the filesystem and have them included in the returned archive.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:54:14Z"},"euvd":{"id":"EUVD-2026-57823","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-gitpython-developers-gitpython-cve-2022-24439","parents":[{"from":"CVE-2022-24439","to":"CVE-2026-73619","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["git/repo/base.py"],"commits":["https://github.com/gitpython-developers/GitPython/commit/2625ed9fc074091c531c27ffcba7902771130261","https://github.com/gitpython-developers/GitPython/commit/7a4f5dcb7bf3cbcbf6e438017efcdfe0bc0d36ca"],"basis":"shared function","functions":["Repo"]}]},{"from":"CVE-2026-67323","to":"CVE-2026-73619","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["git/repo/base.py"],"commits":["https://github.com/gitpython-developers/GitPython/commit/701ce32fe5ba8cb622c0e0342a376a6beb47d738","https://github.com/gitpython-developers/GitPython/commit/7a4f5dcb7bf3cbcbf6e438017efcdfe0bc0d36ca"],"basis":"shared function","functions":["Repo"]}]}],"children":[{"from":"CVE-2026-73619","to":"CVE-2026-73623","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["git/repo/base.py"],"commits":["https://github.com/gitpython-developers/GitPython/commit/7a4f5dcb7bf3cbcbf6e438017efcdfe0bc0d36ca","https://github.com/gitpython-developers/GitPython/commit/ffcb5359e87619f4fe4a70a4aff5f08c5580ba97"],"basis":"shared function","functions":["Repo"]}]}],"packageHistory":[{"cve":"CVE-2026-73625","published":"2026-08-13","fixed":"3.1.54","kev":false},{"cve":"CVE-2026-73622","published":"2026-08-13","fixed":"3.1.55","kev":false},{"cve":"CVE-2026-73621","published":"2026-08-13","fixed":"3.1.56","kev":false,"link":{"from":"CVE-2026-73621","to":"CVE-2026-73619","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:gitpython","fromFixed":"3.1.56","toFixed":"3.1.57","daysApart":0}]}},{"cve":"CVE-2026-73619","published":"2026-08-13","fixed":"3.1.57","kev":false},{"cve":"CVE-2026-73620","published":"2026-08-13","fixed":"3.1.57","kev":false},{"cve":"CVE-2026-76221","published":"2026-08-19","fixed":"3.1.58","kev":false},{"cve":"CVE-2026-87817","published":"2026-09-09","fixed":"3.1.60","kev":false}],"package":"PyPI:gitpython"}}