ADVISORIES

Vulnerability

CVE-2026-87818

GitPython 3.1.59 fails to restrict the --no-index option in the high-level diff API, allowing attackers to read arbitrary filesystem paths as repository operands. Attackers can combine --no-index with -I/--ignore-matching-lines to create a content-dependent Boolean oracle, repeatedly querying local files to recover single-line secrets through distinguishable success or error responses.

12 advisories report this vulnerability, across 6 ecosystems.

Advisories

  • DEBIAN-CVE-2026-87818

    GitPython 3.1.59 fails to restrict the --no-index option in the high-level diff API, allowing attackers to read arbitrary filesystem paths as repository operands. Attackers can combine --no-index with…

    CVE-2026-87818 Debian Updated 31 October 2026
  • DLA-4872-1

    python-git - security update

    CVE-2026-100689CVE-2026-110855CVE-2026-110856CVE-2026-110857 Debian Updated 20 November 2026
  • DSA-6594-1

    python-git - security update

    CVE-2026-42215CVE-2026-42284CVE-2026-44243CVE-2026-44244 Debian Updated 20 November 2026
  • GHSA-rw58-wc66-99g4

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

    High CVE-2026-87818 PyPI Updated 30 September 2026
  • GHSA-whh4-5q6c-9v3x

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

    Moderate CVE-2026-87818 PyPI Updated 1 October 2026
  • OESA-2026-4025

    python-GitPython security update

    High CVE-2026-87817CVE-2026-87818CVE-2026-87819 openEuler Updated 25 September 2026
  • OESA-2026-4026

    python-GitPython security update

    High CVE-2026-87817CVE-2026-87818CVE-2026-87819 openEuler Updated 25 September 2026
  • OESA-2026-4027

    python-GitPython security update

    High CVE-2026-87817CVE-2026-87818CVE-2026-87819 openEuler Updated 25 September 2026
  • PYSEC-2026-3983

    GitPython 3.1.59 fails to restrict the --no-index option in the high-level diff API, allowing attackers to read arbitrary filesystem paths as repository operands. Attackers can combine --no-index with…

    CVE-2026-87818 PyPI Updated 1 October 2026
  • SUSE-SU-2026:4191-1

    Security update for python-GitPython

    CVE-2026-87817CVE-2026-87818CVE-2026-87819 SUSE Updated 16 September 2026
  • UBUNTU-CVE-2026-87818

    GitPython 3.1.59 fails to restrict the --no-index option in the high-level diff API, allowing attackers to read arbitrary filesystem paths as repository operands. Attackers can combine --no-index with…

    CVE-2026-87818 Ubuntu Updated 24 November 2026
  • openSUSE-SU-2026:21874-1

    Security update for python-GitPython

    CVE-2026-67322CVE-2026-67323CVE-2026-67325CVE-2026-67326 openSUSE Updated 25 September 2026

References