nday
CVE-2026-97041

Host linker flag injection via //go:cgo_* directives in cmd/compile and cmd/link

Go toolchain / cmd/compile、cmd/link

技术分析早于 CVE 记录发布 6 天出现。本站尚未获取修复依据,不能据此认为没有补丁。四个 PoC 来源都还没有收录。尚未列入 CISA KEV。

标签 漏洞类型command injection 攻击途径网络无需认证
这些标签的依据

这些标签由 nday 按固定规则从下列事实自动推导,不是 NVD、编号分配方或其他来源给出的。全部标签和规则见 ~/tags。

command injection
CWE-88(来源:编号分配方 Go、ADP CISA-ADP、NVD(转录自 134c704f-9b21-4f2e-91b3-4a467353bcc0))
网络
ADP CISA-ADP 给出的 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H(CVSS 3.1)中的 AV:N
无需认证
ADP CISA-ADP 给出的 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H(CVSS 3.1)中的 PR:N
当前阶段
ANA
披露
CVSS
8.8 HIGH v3.1

生命周期

横轴 UTC;点=精确到分钟,宽条=仅日期,空心=未知或推定。
时间未知
DIS披露
11-11T03:13Z
PAT补丁
尚无记录
ANA分析
11-05T22:27Z 等 2 条
POCPoC
尚无记录
ITW在野
尚无记录
KEVKEV
尚无记录

摘要

Building a malicious package containing "//go:cgo_*" compiler directives could inject arbitrary flags into the external linker invocation on ELF platforms. The compiler and linker did not reject commas in "//go:cgo_import_dynamic", "//go:cgo_export_dynamic", "//go:cgo_export_static", "//go:cgo_import_static", and "//go:cgo_dynamic_linker" directives, and the linker passed the dynamic linker path using "-Wl,--dynamic-linker,<path>". Furthermore, the two-argument form of "//go:cgo_import_dynamic" (which is permitted in non-cgo Go source files) could overwrite the external symbol name of a symbol already marked for cgo export. A symbol name or dynamic linker path containing a comma or leading "@" could split "-Wl,--export-dynamic-symbol=" or "-Wl,--dynamic-linker," into arbitrary host linker flags or response file arguments. The compiler and linker now reject commas in "//go:cgo_*" symbol and dynamic linker directives, the linker passes "-Wl,--dynamic-linker=<path>", and "cgo_import_dynamic" no longer overwrites symbols exported via "cgo_export_dynamic" or "cgo_export_static".

以上是 CVE 记录(cvelist)中的原文,未经改写。

利用条件

按 CVSS 向量说明攻击需要的条件。
攻击途径 AV:N
网络:攻击者只要能通过网络访问到目标即可
攻击复杂度 AC:L
低:不依赖特殊条件,攻击者可预期重复成功
所需权限 PR:N
无:不需要账号或授权
用户交互 UI:R
需要:须有用户执行某个操作,例如打开文件或点击链接

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

CVSS 3.1 向量,来自 CVE 记录,由 ADP CISA-ADP 补充。

事件记录

+ANA技术分析

oss-security 邮件列表发帖:“Fwd: Go 1.27.4 and Go 1.26.11 pre-announcement”。

来源 osssec 2026/q4/532 · 本站 实时观测 · 原始记录
{
  "id": 496267,
  "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 · 本站 实时观测 · 原始记录
{
  "id": 496403,
  "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披露

CVE 记录发布,编号分配方是 Go。CVSS 8.8,高危。

来源 cvelist · 本站 批量导入 · 原始记录
{
  "id": 16805,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-97041",
  "occurred_at": "2026-11-11T03:13:15.269Z",
  "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-16T17:24:51.275763Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2026-11-11T03:13:15.269Z",
    "assigner_short_name": "Go"
  }
}

纠错

报告错误或缺失

页面有误或缺失?告诉编辑;采纳后在本页修订记录公开说明,上游数据不会被改动。

研究员讨论

近 7 天有 0 位研究员提到

研究员在 X 上提到此 CVE 的帖子,原文照录,nday 不核实。

尚未采集到名单内研究员在 X 上提到此 CVE 的帖子。

讨论

0 条评论

还没有评论。