nday
CVE-2026-97033

Unexpected code execution via --sysroot, -target, -isysroot, -Wl,-syslibroot, and -x cgo flags in cmd/go

Go toolchain / cmd/go

CVE レコード公開の 6 日前に技術解析が確認されています。nday はまだ修正の根拠を取得していません。修正がないという意味ではありません。4 つの PoC ソースのいずれにも未掲載です。CISA KEV には現時点で未掲載です。

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

command injection
CWE-77, stated by the CNA Go、the ADP CISA-ADP、NVD, republishing 134c704f-9b21-4f2e-91b3-4a467353bcc0
network
AV:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (CVSS 3.1) from the ADP CISA-ADP
no authentication required
PR:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (CVSS 3.1) from the ADP CISA-ADP
現在の段階
ANA
公開日時
CVSS 基本値
8.8 HIGH v3.1

ライフサイクル

横軸は UTC。点=分単位、幅広の帯=日付のみ、白抜き=不明または推定。
日時不明
DIS公開
11-11T03:13Z
PAT修正
記録なし
ANA解析
11-05T22:27Z ほか 1 件
POCPoC
記録なし
ITW悪用
記録なし
KEVKEV
記録なし

概要

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:N
None: no account or authorization needed
User interaction UI:R
Required: a user must do something, such as open a file or click a link

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

CVSS 3.1 vector from the CVE record, added by the ADP CISA-ADP.

イベント履歴

+ANA技術解析

oss-security メーリングリストへの投稿:「Fwd: Go 1.27.4 and Go 1.26.11 pre-announcement」。

出典 osssec 2026/q4/532 · nday が にリアルタイムで観測 · 生データ
{
  "id": 496259,
  "type": "analysis_published",
  "source": "osssec",
  "url": "https://seclists.org/oss-sec/2026/q4/532",
  "occurred_at": "2026-11-05T22:27:23Z",
  "observed_at": "2026-11-20T08:13:28.642196Z",
  "is_backfill": false,
  "dedupe_key": "2026/q4/532",
  "detail": {
    "list": "oss-security",
    "author": "Alan Coopersmith",
    "subject": "Fwd: Go 1.27.4 and Go 1.26.11 pre-announcement",
    "is_reply": false
  }
}
+ANA技術解析

oss-security メーリングリストへの投稿:「Go 1.27.4 and Go 1.26.11 are released with 12 security fixes」。

出典 osssec 2026/q4/646 · nday が にリアルタイムで観測 · 生データ
{
  "id": 496395,
  "type": "analysis_published",
  "source": "osssec",
  "url": "https://seclists.org/oss-sec/2026/q4/646",
  "occurred_at": "2026-11-10T20:15:36Z",
  "observed_at": "2026-11-20T08:13:28.642196Z",
  "is_backfill": false,
  "dedupe_key": "2026/q4/646",
  "detail": {
    "list": "oss-security",
    "author": "Alan Coopersmith",
    "subject": "Go 1.27.4 and Go 1.26.11 are released with 12 security fixes",
    "is_reply": false
  }
}
+DIS公開

Go が CVE レコードを公開。CVSS 基本値 8.8(重要)。

出典 cvelist · nday が に一括取り込み · 生データ
{
  "id": 16797,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-97033",
  "occurred_at": "2026-11-11T03:13:17.601Z",
  "observed_at": "2026-11-12T14:10:31.286634Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "adp:CISA-ADP",
      "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "version": "3.1",
      "base_score": 8.8,
      "base_severity": "HIGH"
    },
    "ssvc": {
      "timestamp": "2026-11-16T00:00:00+00:00",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2026-11-11T03:13:17.601Z",
    "assigner_short_name": "Go"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

研究者の投稿

過去 7 日間に 0 人の研究者が言及

リストの研究者が X でこの CVE に触れた投稿です。原文のまま表示し、nday は検証していません。

リストの研究者が X でこの CVE に触れた投稿は、まだ収集していません。

Discussion

0 comments

No comments yet.