Bug 2510003 (CVE-2026-67326) - CVE-2026-67326 gitpython: GitPython: Remote Code Execution via Newline Injection in config_writer()
Summary: CVE-2026-67326 gitpython: GitPython: Remote Code Execution via Newline Inject...
Keywords:
Status: NEW
Alias: CVE-2026-67326
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-01 13:02 UTC by OSIDB Bzimport
Modified: 2026-11-06 05:22 UTC (History)
0 users

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-01 13:02:46 UTC
GitPython before 3.1.50 fails to validate newline characters in the section parameter of config_writer(), allowing attackers to inject arbitrary section headers into .git/config. Attackers can inject newlines to create a forged [core] section with hooksPath pointing to attacker-controlled directories, achieving remote code execution when git hooks are triggered.


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