GitPython: git-config OPTION-name injection via =/#/whitespace bypasses name validator, enabling forged core.sshComma...

Date Aug 7, 2026
Type Vendor advisory
Signal High-risk advisory
Vendor / Product PyPI · GitPython
High-risk advisory

Summary

GitPython: git-config OPTION-name injection via =/#/whitespace bypasses name validator, enabling forged core.sshCommand/hooksPath (RCE)

Why it matters

GitHub has published a reviewed security advisory for GitPython. Prioritize it with other application dependency updates.

Operator check

Check whether GitPython is present in application dependency manifests, lockfiles, or build images. Review the GitHub advisory and upgrade to a patched version where available.

Sources

PatchBrief uses public sources. It does not scan environments, verify exposure, or replace vendor guidance.