CVE-2026-44244

Publication date 7 May 2026

Last updated 27 May 2026


Ubuntu priority

Cvss 3 Severity Score

7.8 · High

Score breakdown

Description

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.

Status

Package Ubuntu Release Status
python-git 26.04 LTS resolute
Fixed 3.1.46-1ubuntu0.1~esm1
25.10 questing
Vulnerable
24.04 LTS noble
Fixed 3.1.37-3ubuntu0.1~esm2
22.04 LTS jammy
Fixed 3.1.24-1ubuntu0.1~esm3
20.04 LTS focal
Fixed 3.0.7-1ubuntu0.1~esm4
18.04 LTS bionic
Fixed 2.1.8-1ubuntu0.1~esm4
16.04 LTS xenial Ignored end of ESM support, was needs-triage
14.04 LTS trusty
Fixed 0.3.2~RC1-3ubuntu0.1~esm3

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro 30-day free trial

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
python-git

Severity score breakdown

Parameter Value
Base score 7.8 · High
Attack vector Local
Attack complexity Low
Privileges required Low
User interaction None
Scope Unchanged
Confidentiality High
Integrity impact High
Availability impact High
Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References

Related Ubuntu Security Notices (USN)

    • USN-8303-1
    • GitPython vulnerabilities
    • 26 May 2026

Other references


Access our resources on patching vulnerabilities