CVE-2026-69097: GitPython before 3.1.53 Config Injection via Submodule Names

Published Aug 3, 2026
·
Updated

GitPython before 3.1.53 fails to properly escape section names in git config files, allowing attackers to inject arbitrary configuration directives through malicious submodule names. Attackers can inject core.sshCommand or other dangerous config keys into the victim's .git/config via createsubmodule or clonefrom operations, achieving remote code execution when git performs ssh operations.

Affected Software

1 affected component
GitPython GitPython<3.1.53

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade GitPython to a version that resolves this vulnerability.

    Fixed in 3.1.53

Event History

Aug 3, 2026
CVE Published
via MITRE·01:20 PM
Data Sourced
via MITRE·01:20 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:16 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-69097?

CVE-2026-69097 has a severity rating of high (7).

2

How do I fix CVE-2026-69097?

To mitigate CVE-2026-69097, upgrade GitPython to version 3.1.53 or later.

3

What types of attacks are possible with CVE-2026-69097?

CVE-2026-69097 allows attackers to inject arbitrary configuration directives, potentially including core.sshCommand.

4

Which versions of GitPython are affected by CVE-2026-69097?

GitPython versions before 3.1.53 are affected by CVE-2026-69097.

5

What impact can CVE-2026-69097 have on a system?

CVE-2026-69097 can lead to unauthorized configuration changes, potentially compromising system security.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203