PatchSiren cyber security CVE debrief
CVE-2026-71557 go-git CVE debrief
CVE-2026-71557 is a path traversal vulnerability in the go-git library, allowing maliciously crafted reference names to write files outside the intended reference storage directory. This issue was fixed in versions 5.19.2 and 6.0.0-alpha.5. Defenders should assess exposure and prioritize verification and remediation efforts. The vulnerability can lead to security risks if not addressed promptly. Affected environments should be identified, and owners assigned for follow-up. The CVE record and NVD entry provide details on the vulnerability, including its description and affected versions.
- Vendor
- go-git
- Product
- Unknown
- CVSS
- MEDIUM 6.3
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-08-07
- Original CVE updated
- 2026-09-10
- Advisory published
- 2026-08-07
- Advisory updated
- 2026-09-10
Who should care
Defenders responsible for maintaining and securing environments that use the go-git library should assess exposure and prioritize verification and remediation efforts. This includes reviewing the reference storage directory for potential security risks and verifying the versions of go-git used in their environments. Defenders should also plan vendor-supported updates or mitigations through normal change control where exposure is confirmed.
Why it matters
CVE-2026-71557 is a path traversal vulnerability in the go-git library that can lead to writing files outside the intended reference storage directory. Defenders should verify the versions of go-git used in their environments and prioritize remediation efforts.
- Path traversal attacks can lead to writing files outside the intended reference storage directory.
- Verification of go-git versions and remediation efforts are necessary to prevent potential security risks.
- Defenders should review the reference storage directory for potential security risks.
Technical summary
The go-git library is vulnerable to a path traversal attack when constructing on-disk paths under the reference storage directory. This can be exploited by a maliciously crafted reference name, allowing attackers to write files outside the intended reference storage directory. The vulnerability was fixed in versions 5.19.2 and 6.0.0-alpha.5. Defenders should prioritize verifying the versions of go-git used in their environments and upgrading to fixed versions if necessary. The vulnerability can lead to security risks if not addressed promptly.
Defensive priority
Defenders should prioritize verifying the versions of go-git used in their environments and upgrading to fixed versions if necessary.
Recommended defensive actions
- Verify the version of go-git used in your environment.
- Upgrade to version 5.19.2 or 6.0.0-alpha.5 if necessary.
- Review the reference storage directory for potential security risks.
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.
- Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed.
- Check relevant monitoring, detection, and logs for exposed assets that need extra review.
- Track exceptions, retest remediated assets, and close the item only after evidence is documented.
Evidence notes
The CVE record and NVD entry provide details on the vulnerability, including its description and affected versions. The go-git library is used in various environments, and defenders should verify the versions used and prioritize remediation efforts. The vulnerability allows for path traversal attacks, which can lead to writing files outside the intended reference storage directory. Defenders should review the reference storage directory for potential security risks and verify the versions of go-git used in their environments.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-71557 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-71557
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-71557 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-71557
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/go-git/go-git/commit/4a0e66d555de5f9a30c31e2df64f445f42bd01e7
-
Source reference
Unverified legacy reference
URL: https://github.com/go-git/go-git/commit/da9f7d8a0e98b475600177348d6ece384a370f36
-
Source reference
Unverified legacy reference
URL: https://github.com/go-git/go-git/pull/2247
-
Source reference
Unverified legacy reference
URL: https://github.com/go-git/go-git/pull/2254
-
Source reference
Unverified legacy reference
URL: https://github.com/go-git/go-git/releases/tag/v5.19.2
-
Source reference
Unverified legacy reference
URL: https://github.com/go-git/go-git/releases/tag/v6.0.0-alpha.5
-
Source reference
Unverified legacy reference
URL: https://github.com/go-git/go-git/security/advisories/GHSA-qgq7-7hm3-q39j
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.