CVE-2026-67326
GitPython · GitPython
GitPython is vulnerable to improper input validation, allowing for potential newline injection via the config writer section.
Executive summary
A vulnerability in GitPython allows for improper input validation, which could lead to unauthorized configuration manipulation.
Vulnerability
This vulnerability involves improper input validation (CWE-20) within the configuration writer component. An attacker with local access and specific user interaction can exploit this flaw to inject malicious configurations.
Business impact
The CVSS score of 7.0 indicates a high severity risk. Successful exploitation could lead to full system compromise or unauthorized configuration changes, potentially impacting the integrity of development pipelines and underlying systems that rely on GitPython for repository management.
Remediation
Immediate Action: Update GitPython to version 3.1.50 or later to include the necessary input validation fixes.
Proactive Monitoring: Review system logs for unauthorized changes to Git configuration files or unexpected behavior in applications utilizing the GitPython library.
Compensating Controls: Ensure strict local access controls and verify the integrity of configuration files before they are processed by the application.
Exploitation status
Public Exploit Available: Unknown
Analyst recommendation
Given the potential for configuration manipulation, organizations should prioritize updating to version 3.1.50. Teams should audit environments where GitPython is deployed to ensure that the updated library is integrated into the build process as soon as possible.