【高危】v2 安全更新(GHSA-84rm-42xw-mx52)
安全情报快照 · 风险级别:高危 · CVSS:7.4 · CVE-2026-55436 · GHSA-84rm-42xw-mx52
先看结论
v2存在安全风险,>= 2.34.0, < 2.34.2 受影响,建议升级至 2.34.2。
影响范围
| 生态 | 组件 | 受影响版本 | 首个修复版本 |
|---|---|---|---|
| go | github.com/coder/coder/v2 |
>= 2.34.0, < 2.34.2 | 2.34.2 |
| go | github.com/coder/coder/v2 |
>= 2.33.0, < 2.33.8 | 2.33.8 |
| go | github.com/coder/coder/v2 |
>= 2.30.0, < 2.32.7 | 2.32.7 |
处置建议
优先将 github.com/coder/coder/v2 升级至 2.34.2 或更高版本;升级前请结合业务依赖完成兼容性验证。
上游技术详情(原文)
Summary
The AI Bridge Proxy (aibridgeproxyd) created a goproxy server whose default transport set InsecureSkipVerify: true and only assigned a secure transport when an upstream proxy was configured. In the default configuration (no upstream proxy), outbound HTTPS to the Coder access URL accepted any TLS certificate.
Note: Practical exploitation requires an on-path (man-in-the-middle) position between the AI Bridge Proxy and the Coder server. Deployments where they are co-located over loopback are effectively unaffected.
Impact
An attacker positioned between the proxy and the Coder server, via ARP spoofing, DNS poisoning or control of proxy environment variables, could intercept injected Coder session tokens, user-supplied provider API keys (BYOK) and full request and response bodies including prompts and completions. The default transport also honored HTTP_PROXY and HTTPS_PROXY, allowing environment-based traffic redirection.
Patches
The fix applies the secure transport (TLS 1.2 or higher using system root CAs) unconditionally. The AI Bridge Proxy was introduced in v2.30.0. Earlier release lines including the v2.29 ESR line are not affected.
The fix is available in the following releases:
| Release line | Patched version |
|---|---|
| 2.34 | v2.34.2 |
| 2.33 | v2.33.8 |
| 2.32 | v2.32.7 |
Workarounds
Ensure the Coder access URL uses a trusted certificate and secure the network path between the AI Bridge Proxy and the Coder server (for example, loopback or mTLS).
Resources
- Fix: #26131
Credits
Coder would like to thank Anthropic's Security Team (ANT-2026-22455) for independently disclosing this issue!
来源与许可
- GitHub Advisory GHSA-84rm-42xw-mx52
- https://github.com/coder/coder/security/advisories/GHSA-84rm-42xw-mx52
- https://github.com/coder/coder/pull/26131
本页自动同步 GitHub Advisory Database 的公开数据,并保留上游原文供核验;不宣称原创分析。数据许可:CC-BY-4.0。
评论
登录 后参与讨论。
还没有评论,来说两句。