Description
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.
CVSS 6.5EPSS 0.22799999999999998%Risk 0.66
View source- Published
- 2026-08-13 12:17:26
- Affected versions
- <3.1.57
- Type
- Library
- Last modified
- 2026-08-15 04:18:26
- Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N