CVE-2026-67323
Medium
Elevated severity or exploit probability.
CVSS base
8.4
HIGH
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS — probability of exploitation (30 days)
1.0%
61.9th percentile
CISA KEV
Not listed
Weakness / dates
CWE-77
Published 2026-08-01 · modified 2026-09-03
CVSS breakdown
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
| Attack Vector | L | Local |
| Attack Complexity | L | Low |
| Privileges Required | N | None |
| User Interaction | N | None |
| Scope | U | Unchanged |
| Confidentiality | H | High |
| Integrity | H | High |
| Availability | H | High |
Timeline
- 2026-08-01 — Published (NVD)
- 2026-09-03 — Last modified (NVD)
Description
GitPython before 3.1.51 fails to guard against dangerous Git options passed as keyword arguments in Repo.archive() and git.ls_remote(), allowing command injection via options such as --exec/--upload-pack (leading to arbitrary command execution). Additionally, Repo.iter_commits() and Repo.blame() do not check for leading-dash revision arguments, so a revision like --output=<path> can cause Git to open and truncate an arbitrary file. Exploitation requires an application that passes attacker-controlled arguments to these methods.
Affected
References
- exploit https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-956x-8gvw-wg5v
- exploit https://www.vulncheck.com/advisories/gitpython-before-command-injection-via-unguarded-git-options
- exploit https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-956x-8gvw-wg5v