GitPython advisories for code execution and option injection

critical severity · published 2026-09-08

Several GitPython advisories describe possible code execution through git option or configuration injection, repository content that impersonates a git directory, and a submodule git directory checked only after cloning. Tools that clone or open untrusted repositories with GitPython may be exposed.

Fixed in: 3.1.60

CVE: CVE-2026-114145, CVE-2026-78676, CVE-2026-87817

Source: GitHub Advisory

Am I affected?

You are affected if the installed version is older than 3.1.60. Check the version you have and update to 3.1.60 or later. The fixed version is verified against a vendor or advisory source.

Get the fix

FixLane has a reviewed fix procedure for this incident: a read-only check first, then the fix. Ask the Telegram bot, or connect an AI agent to the FixLane MCP server and call get_fix_prompt with incident id 1804 and your operating system.