NVD Vulnerability Detail
Search Exploit, PoC
CVE-2026-39817
Summary

The "go tool pack" subcommand (usually used only by the compiler as an internal tool with known-good inputs) does not sanitize output filenames. Extracting a malicious archive file with the "pack" subcommand can write files to arbitrary locations on the filesystem.

Publication Date May 8, 2026, 5:16 a.m.
Registration Date May 9, 2026, 4:10 a.m.
Last Update May 13, 2026, 11:59 p.m.
CVSS3.1 : MEDIUM
スコア 5.9
Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N
攻撃元区分(AV) ローカル
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR)
利用者の関与(UI)
影響の想定範囲(S) 変更あり
機密性への影響(C) なし
完全性への影響(I)
可用性への影響(A) なし
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* 1.25.10
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* 1.26.0 1.26.3
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
The Go ProjectのGoにおける境界外書き込みに関する脆弱性
Title The Go ProjectのGoにおける境界外書き込みに関する脆弱性
Summary

「go tool pack」サブコマンド(通常は既知の正常な入力を持つ内部ツールとしてコンパイラのみが使用します)は、出力ファイル名をサニタイズしません。悪意のあるアーカイブファイルを「pack」サブコマンドで展開すると、ファイルシステム上の任意の場所にファイルを書き込む可能性があります。

Possible impacts 当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアは停止しません。 そして、この脆弱性を悪用した攻撃により、他のソフトウェアにも影響が及ぶ可能性があります。 
Solution

正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date May 7, 2026, midnight
Registration Date May 15, 2026, 11:01 a.m.
Last Update May 15, 2026, 11:01 a.m.
Affected System
The Go Project
Go 1.25.10 未満
Go 1.26.0 以上 1.26.3 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2026年05月15日]
  掲載
May 15, 2026, 11:01 a.m.