GitPython: Environment-variable exfiltration via os.path.expandvars() on Repo.clone_from() URL

Date Jul 21, 2026
Type Vendor advisory
Signal High-risk advisory
Vendor / Product PyPI · gitpython
High-risk advisory

Summary

GitPython: Environment-variable exfiltration via os.path.expandvars() on Repo.clone_from() URL

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.