Bug 2519596 (CVE-2026-76221) - CVE-2026-76221 gitpython: GitPython: Arbitrary code execution via config-name injection
Summary: CVE-2026-76221 gitpython: GitPython: Arbitrary code execution via config-name...
Keywords:
Status: NEW
Alias: CVE-2026-76221
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2525282 2525283
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-19 14:17 UTC by OSIDB Bzimport
Modified: 2026-08-27 20:40 UTC (History)
42 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-19 14:17:54 UTC
GitPython before 3.1.58 contains a config-name injection vulnerability in the option-name validator that allows attackers to forge arbitrary git-config directives by injecting equals signs, hash symbols, and whitespace into option names. Attackers can inject malicious option names like 'sshCommand = touch /tmp/RCE #' to execute arbitrary commands via core.sshCommand or core.hooksPath on the next git operation.


Note You need to log in before you can comment on or make changes to this bug.