製品・ソフトウェアに関する情報
go-git projectのgo-gitにおけるパストラバーサルの脆弱性
Title go-git projectのgo-gitにおけるパストラバーサルの脆弱性
Summary

go-gitは純粋なGoで書かれた拡張可能なgit実装ライブラリです。5.19.1および6.0.0-alpha.4以前のバージョンでは、go-gitのパス検証に問題があり、細工されたリポジトリデータが意図されたチェックアウトターゲットの外部にある、リポジトリの.gitディレクトリを含むファイルに影響を及ぼす可能性がありました。これらの検証は数年前に上流のGitで導入されたものであり、この脆弱性はgo-gitがこれらのチェックから逸脱したことに起因しています。この脆弱性は5.19.1および6.0.0-alpha.4のバージョンで修正されました。

Possible impacts ・当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 ・当該ソフトウェアが扱う情報の一部が書き換えられる可能性があります。 ・当該ソフトウェアの一部が停止する可能性があります。 
Solution

ベンダ情報を参照して適切な対策を実施してください。

Publication Date May 27, 2026, midnight
Registration Date June 8, 2026, 11:46 a.m.
Last Update June 8, 2026, 11:46 a.m.
CVSS3.0 : 警告
Score 5.4
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
Affected System
go-git project
go-git 5.19.1 未満
go-git 6.0.0
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2026年06月08日]
  掲載
June 8, 2026, 11:46 a.m.

NVD Vulnerability Information
CVE-2026-45571
Summary

go-git is an extensible git implementation library written in pure Go. Prior to 5.19.1 and 6.0.0-alpha.4, a path validation issue in go-git could allow crafted repository data to affect files outside the intended checkout target, including the repository's .git directory. These validations were introduced in upstream Git years ago, so the vulnerability arose from go-git drifting from those checks. This vulnerability is fixed in 5.19.1 and 6.0.0-alpha.4.

Publication Date May 28, 2026, 12:16 a.m.
Registration Date May 28, 2026, 4:14 a.m.
Last Update May 30, 2026, 12:42 a.m.
Related information, measures and tools
Common Vulnerabilities List