go-git: Crafted repositories may modify main and submodule .git directories
CVE-2026-45571 is a vulnerability in go-git where crafted repositories may modify the main and submodule . git directories. This could potentially allow unauthorized changes to repository metadata or configuration. The vulnerability is categorized under CWE-22, indicating a path traversal issue. There is no CVSS score available, and no known exploits in the wild have been reported. No patch or remediation information is currently provided by the vendor. The affected products include Microsoft-related software such as Azure Linux 3. 0 and packer. Due to the lack of detailed impact and remediation data, the severity is assessed as medium based on the potential for unauthorized repository modification.
AI Analysis
Technical Summary
The vulnerability identified as CVE-2026-45571 affects the go-git library, where specially crafted repositories can modify the main and submodule .git directories. This issue relates to CWE-22, a path traversal weakness, which may allow an attacker to manipulate repository metadata or configuration files. The affected products include Microsoft and Azure Linux 3.0 environments, as well as packer. There is no CVSS score assigned, no known exploits reported, and no patch or vendor advisory detailing remediation steps. The Microsoft Security Response Center is the publisher of this advisory, but no patch links or official fixes are currently available.
Potential Impact
The vulnerability could allow an attacker to alter the main and submodule .git directories within a repository, potentially leading to unauthorized changes in repository state or configuration. This may affect the integrity of the source code or build processes relying on these repositories. However, no known exploits have been reported, and the exact impact scope is not detailed in the available information.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or patch links are provided, users should monitor the Microsoft Security Response Center for updates. Until a patch is available, cautious handling of untrusted repositories and limiting repository access may reduce risk.
go-git: Crafted repositories may modify main and submodule .git directories
Description
CVE-2026-45571 is a vulnerability in go-git where crafted repositories may modify the main and submodule . git directories. This could potentially allow unauthorized changes to repository metadata or configuration. The vulnerability is categorized under CWE-22, indicating a path traversal issue. There is no CVSS score available, and no known exploits in the wild have been reported. No patch or remediation information is currently provided by the vendor. The affected products include Microsoft-related software such as Azure Linux 3. 0 and packer. Due to the lack of detailed impact and remediation data, the severity is assessed as medium based on the potential for unauthorized repository modification.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability identified as CVE-2026-45571 affects the go-git library, where specially crafted repositories can modify the main and submodule .git directories. This issue relates to CWE-22, a path traversal weakness, which may allow an attacker to manipulate repository metadata or configuration files. The affected products include Microsoft and Azure Linux 3.0 environments, as well as packer. There is no CVSS score assigned, no known exploits reported, and no patch or vendor advisory detailing remediation steps. The Microsoft Security Response Center is the publisher of this advisory, but no patch links or official fixes are currently available.
Potential Impact
The vulnerability could allow an attacker to alter the main and submodule .git directories within a repository, potentially leading to unauthorized changes in repository state or configuration. This may affect the integrity of the source code or build processes relying on these repositories. However, no known exploits have been reported, and the exact impact scope is not detailed in the available information.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or patch links are provided, users should monitor the Microsoft Security Response Center for updates. Until a patch is available, cautious handling of untrusted repositories and limiting repository access may reduce risk.
Technical Details
- Gcve Source
- db.gcve.eu
- Csaf Category
- csaf_vex
- Csaf Version
- 2.0
- Publisher
- Microsoft Security Response Center
- Advisory Id
- msrc_CVE-2026-45571
- Cve Count
- 1
- Additional Cves
- []
- Cvss Version
- null
Threat ID: 6a18ab86e29bf47b50288f8c
Added to database: 5/28/2026, 8:54:30 PM
Last enriched: 5/28/2026, 9:08:38 PM
Last updated: 5/29/2026, 7:32:30 AM
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.