Advisory

GHSA-284h-m62q-gf8w

Also known as: CVE-2026-78676, PYSEC-2026-3786

Summary

GitPython: Dormant multi-line git-config values are corrupted into live injected directives (e.g. core.hooksPath) on any unrelated GitConfigParser write, enabling RCE

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2026-09-08 18:39 UTC
Modified
2026-09-08 19:00 UTC

Affected packages and fixes

gitpython

PyPI · All systems

Affected

  • introduced 0, fixed 3.1.59 (ecosystem)

Fixed versions

3.1.59

Fix

  • Fixed version 3.1.59
    pip install --upgrade gitpython==3.1.59

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences