脆弱性の一覧へ戻る
編集部の見出し:Go 1.27.4・1.26.11:cgo まわりのビルドで任意のコードが動く件など 12 件を修正
NVD の情報
Building a malicious package that uses cgo could cause arbitrary code execution at build time through several compiler and linker flags permitted in "#cgo" directives. Specifically, "--sysroot" in GCC and Clang relocates compiler subprograms, spec files, and CRT startup objects to an attacker-controlled directory; "-target" in Clang falls back to executing target helper tools from the current working directory when not found in PATH; "-isysroot" and "-Wl,-syslibroot" can pass a regular file on disk to GNU ld.bfd, which interprets it as a positional linker script; and "-x" permitted specifying arbitrary compiler input languages beyond those supported by cgo. "--sysroot" and "-target" are now disallowed in "#cgo" flags, "-isysroot" and "-Wl,-syslibroot" are verified not to point to regular files, and "-x" is restricted to the C, C++, Objective-C, and assembler languages supported by cgo.
- 公開日
- 2026-11-11
- 最終更新(NVD)
- 2026-11-17
- NVD の状態
- Awaiting Analysis
- 脆弱性の種類
- CWE-77
深刻度(CVSS)
- 8.8 HighCVSS 3.1/副/評価:134c704f-9b21-4f2e-91b3-4a467353bcc0
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
悪用の状況
CISA KEV には掲載されていません(掲載されていないことは、悪用されていないことの証明ではありません)。
EPSS:今後30日に悪用される推定確率 0.54%(全体の上位 53.8%、評価日 2026-11-18)
解消方法
- 解消方法の情報なし
「NVD の条件から推定」は、NVD が影響ありとする版の上限から読み取ったもので、修正版とは限りません。「解消方法の情報なし」は、修正が無いという意味ではありません。必ずベンダーの公告で確認してください。
編集部の記載(レポート掲載時)
レポートの編集部がベンダー公告などから転記した内容です。検証済みの値ではないため、必ず出典で確認してください。
2026-11-11 のレポートGo 1.27.4・1.26.11:cgo まわりのビルドで任意のコードが動く件など 12 件を修正
第14版:11/11 05:19 UTC に NVD へ掲載(点数なし)。CVE-2026-97033〜97043 は cgo・リンカー経由でビルド時にコード実行。
参照(NVD)
NVD から取得:2026-11-18T14:40:21.074Z/EPSS 評価日:2026-11-18
This product uses the NVD API but is not endorsed or certified by the NVD.
悪用の確認情報は CISA Known Exploited Vulnerabilities Catalog(NVD 経由で取得)によります。EPSS は FIRST(www.first.org/epss)によります。