THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-whh4-5q6c-9v3x (medium) — GitPython: --no-index bypasses diff unsafe-option protections and enables a blind local-file content oracle

[GHSA] GHSA-whh4-5q6c-9v3x (medium) — GitPython: --no-index bypasses diff unsafe-option protections and enables a blind local-file content oracle

medgithub_advisoriesPublished 2026-09-30

GHSA-whh4-5q6c-9v3x Severity: medium CVE: None

GitPython: --no-index bypasses diff unsafe-option protections and enables a blind local-file content oracle

### Summary

GitPython 3.1.59 blocks a previously available local-file read path through unsafe git diff options such as -O/--orderfile.

However, the high-level diff API still permits --no-index with the default allow_unsafe_options=False.

-

Original source: https://github.com/advisories/GHSA-whh4-5q6c-9v3x