Independent & educational platform Not a government body. No link or affiliation with any government organisation. Made for learning only. Test only systems you own or are authorised to test. Become a Partner or Sponsor → Full disclaimer

CVE-2026-44244

high

GitPython is a python library used to interact with Git repositories.

Vendor / product: Gitpython Project — gitpython

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.

CVSS
7.8
7.8 (CVSS v3.1)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Severity source: NVD CVSS v3.1 (security-advisories@github.com)
Timeline (UTC)
Published: 2026-05-07 19:16
Modified: 2026-11-11 23:10
NVD status: Analyzed
Last synced 3 hours ago
Verified against the source API 2026-11-11 23:13 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).

Affected products

gitpython_project / gitpython <3.1.49

Weakness classification (CWE)

Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.

Mitigation & advisories

Vendor advisory: https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-v87r-6q3f-2j67
Vendor advisory: https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-v87r-6q3f-2j67
Patch / mitigation: https://github.com/gitpython-developers/GitPython/releases/tag/3.1.49
Patch / mitigation: https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-v87r-6q3f-2j67
Patch / mitigation: https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-v87r-6q3f-2j67

References

Data sources

NVD CVE API 2.0 — fetched 2026-11-11 23:13 UTC · record ↗

Learn the basics

Understanding CVEs and CVSS Scores

Related CVEs