top of page
perceptive_background_267k.jpg

GitPython before 3.1.53 fails to properly escape section names in git config files, allowing attackers to inject arbitrary configuration directives through mali…

Published:

2 August 2026 at 22:00:00

Alert date:

3 August 2026 at 15:06:10

Source:

nvd.nist.gov

Click to open the original link from this advisory

Supply Chain & Dependencies, Zero-Day Vulnerabilities, Web Technologies

GitPython versions before 3.1.53 contain a vulnerability where section names in git config files are not properly escaped. This allows attackers to inject arbitrary configuration directives through maliciously crafted submodule names. The attack vector involves the create_submodule or clone_from operations, which can be used to inject dangerous keys such as core.sshCommand into the victim's .git/config file. Once injected, these directives are executed when git performs SSH operations, resulting in remote code execution. The vulnerability represents a significant supply chain risk for developers and organizations using GitPython for repository management. A patch was released in GitPython 3.1.53, and users are advised to upgrade immediately. The issue is tracked under CVE-2026-69097 and has been assigned a high criticality rating.

Technical details

Mitigation steps:

Affected products:

GitPython before 3.1.53

Related links:

Related CVE's:

Related threat actors:

IOC's:

This article was created with the assistance of AI technology by Perceptive.

© 2025 by Perceptive Security. All rights reserved.

email: info@perceptivesecurity.com

Disclaimer: Deze website toont informatie afkomstig van externe bronnen. Perceptive aanvaardt geen verantwoordelijkheid voor de inhoud, juistheid of volledigheid van deze informatie.

bottom of page