ADVISORIES

Vulnerability

CVE-2026-44244

GitPython is a python library used to interact with Git repositories. Prior to version 3.1.49, GitConfigParser.set_value() passes values to Python's configparser without validating for newlines. GitPython's own _write() converts embedded newlines into indented continuation lines (e.g. \n becomes \n\t), but Git still accepts an indented [core] stanza as a section header — so the injected core.hooksPath becomes effective configuration. Any Git operation that invokes hooks (commit, merge, checkout) will then execute scripts from the attacker-controlled path. This issue has been patched in version 3.1.49.

24 advisories report this vulnerability, across 8 ecosystems.

Advisories

  • CGA-2375-858m-43vv
    CVE-2026-44244 Chainguard Updated 5 November 2026
  • CGA-8crh-m244-369r
    CVE-2026-44244 Chainguard Updated 5 November 2026
  • CGA-96rq-97g4-wg88
    CVE-2026-44244 Chainguard Updated 5 November 2026
  • CGA-c9v9-fjmv-7v82
    CVE-2026-44244 Chainguard Updated 5 November 2026
  • CGA-ff65-mrgr-cpfc
    CVE-2026-44244 Chainguard Updated 5 November 2026
  • CGA-fw6v-m433-2j58
    CVE-2026-44244 Chainguard Updated 5 November 2026
  • CGA-jvf2-6rrg-x93g
    CVE-2026-44244 Chainguard Updated 5 November 2026
  • CGA-qmph-6fq2-6chq
    CVE-2026-44244 Chainguard Updated 5 November 2026
  • CGA-wqvv-75jc-7cg9
    CVE-2026-44244 Chainguard Updated 5 November 2026
  • DEBIAN-CVE-2026-44244

    GitPython is a python library used to interact with Git repositories. Prior to version 3.1.49, GitConfigParser.set_value() passes values to Python's configparser without validating for newlines. GitPython's own _write()…

    CVE-2026-44244 Debian Updated 12 November 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-v87r-6q3f-2j67

    GitPython: Newline injection in config_writer().set_value() enables RCE via core.hooksPath

    High CVE-2026-44244 PyPI Updated 10 September 2026
  • OESA-2026-2306

    python-GitPython security update

    High CVE-2026-42215CVE-2026-44243CVE-2026-44244 openEuler Updated 18 August 2026
  • OESA-2026-2307

    python-GitPython security update

    High CVE-2026-42215CVE-2026-44243CVE-2026-44244 openEuler Updated 18 August 2026
  • OESA-2026-2308

    python-GitPython security update

    High CVE-2026-42215CVE-2026-44243CVE-2026-44244 openEuler Updated 18 August 2026
  • PYSEC-2026-2163

    GitPython is a python library used to interact with Git repositories. Prior to version 3.1.49, GitConfigParser.set_value() passes values to Python's configparser without validating for newlines. GitPython's own _write()…

    CVE-2026-44244 PyPI Updated 13 July 2026
  • RHSA-2026:42078

    Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.5 Product Security and Bug Fix Update

    CVE-2026-11332CVE-2026-12382CVE-2026-12701CVE-2026-25681 Red Hat Updated 24 November 2026
  • RHSA-2026:42079

    Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Product Security and Bug Fix Update

    CVE-2026-11332CVE-2026-12701CVE-2026-25681CVE-2026-27136 Red Hat Updated 24 November 2026
  • RHSA-2026:63385

    Red Hat Security Advisory: Satellite 6.19.4 Async Update

    CVE-2026-10051CVE-2026-11332CVE-2026-16493CVE-2026-34993 Red Hat Updated 24 November 2026
  • SUSE-SU-2026:4072-1

    Security update for python-GitPython

    CVE-2026-42215CVE-2026-42284CVE-2026-44243CVE-2026-44244 SUSE Updated 13 September 2026
  • UBUNTU-CVE-2026-44244

    GitPython is a python library used to interact with Git repositories. Prior to version 3.1.49, GitConfigParser.set_value() passes values to Python's configparser without validating for newlines. GitPython's own _write()…

    CVE-2026-44244 Ubuntu Updated 17 October 2026
  • USN-8303-1

    python-git vulnerabilities

    CVE-2023-41040CVE-2026-42215CVE-2026-42284CVE-2026-44243 Ubuntu Updated 27 May 2026
  • openSUSE-SU-2026:10758-1

    python311-GitPython-3.1.49-1.1 on GA media

    CVE-2026-42215CVE-2026-44243CVE-2026-44244 openSUSE Updated 13 May 2026

References