Open
fix CVE-2026-116685 #18
jiayuzheAdd on 5 days ago
fix CVE-2026-116685 #18
Open
Merge blocked
5 days ago Associated issue: CVE-2026-116685
5 days ago Set lyhu,huzhengce,liumiao27,zxstty,fromhsc,gogoxiaoxiao,wqianli,leon-wang2021,kaitiandu as approver
5 days ago Set lyhu,huzhengce,liumiao27,zxstty,fromhsc,gogoxiaoxiao,wqianli,leon-wang2021,kaitiandu as approver
5 days ago Added label: sig/sig-intelligence
openeuler-ci-bot
5 days ago Comments:
5 days ago Comments:
当前仓库存在以下 保护分支 :
| Protected Branch | Version | Release |
|---|---|---|
| master | 1.12.3 | 1 |
| openEuler-24.03-LTS-Next | 1.12.3 | 1 |
| openEuler-26.09 | 1.12.3 | 1 |
| openEuler-26.09-DevStation | 1.12.3 | 1 |
| openEuler-24.03-LTS-SP4 | 1.12.3 | 1 |
| openEuler-24.03-LTS-SP3 | 1.12.3 | 1 |
评论 /sync <branch1> <branch2> ... 可将当前 PR 修改同步到其它分支(创建同步 PR):
a) 如果当前 PR 是 Open 状态,同步操作将延迟到 PR 被合并时执行
b) 如果当前 PR 已经 Merged,将立即执行同步操作
注意:
- /sync 命令可以指定同步到多个分支,仅最后一个 /sync 命令生效
- 如果创建的同步 PR 不正确,可通过向同步 PR 的源分支提交轻量级 PR 完善,或使用 /close 命令关闭


63 messages are collapsed here。 See more
openeuler-bot
5 days ago Comments:
5 days ago Comments:
openeuler-ci-bot
5 days ago Comments:
5 days ago Comments:
AI Declaration Check Failed
@M3Captain, AI declaration is not compliant. AI tool: ZCode
Please check:
- The AI tool and model declared in the PR description must be real.
- Commit messages must include the AI model, and it must be consistent with the PR description.
Details: AI Coding Assistants. ⚠️


5 days ago Modify description of pull request
5 days ago Removed label: ai-compliance-failed
5 days ago Added label: ai-compliance-successful
关联 issue
Fixes #13
当前PR是否有AI参与:
[] 否
[x] 是
__1. Agent平台信息: ZCode 3.18.2
__2. 模型信息: DeepSeek-V4.1-Flash
__3. Prompt摘要: 回合上游安全修复到 python-mcp 1.12.3,更新 spec 与 changelog 并验证编译
希望检视人员了解:
代码由AI辅助编写,已人工逐行核对逻辑、校验功能正确性,确保与预期一致。
上游来源
https://github.com/modelcontextprotocol/python-sdk/commit/2106335745563b2321b8c73fef2c12903d00aa6e
https://github.com/modelcontextprotocol/python-sdk/pull/3448
修复类型
回合说明
上游补丁在本分支有修改,修改点见下:
create_mcp_http_client()不再开启follow_redirects,避免跨源重定向把调用方自定义凭证头(以及 307/308 下的请求 body)转发到其它 origin;sse_client/streamable_http_client改为只在同源(同 scheme/host/port,或同 host 的 http→https 默认端口)且方法不变时跟随重定向,其余重定向原样返回并作为非成功响应处理。OAuthClientProvider改为RedirectAwareAuth,其 metadata/registration/token 请求同样只跟随同源重定向;metadata 探测遇 3xx 改为尝试下一个候选 URL。因 1.12.3 的客户端 auth 是单文件
mcp/client/auth.py(上游已拆包),RedirectAwareAuth从mcp.shared._httpx_utils导入,provider 流程async_auth_flow重命名为_auth_flow;未采纳上游同 commit 中与安全无关的默认 SSE read timeout 调整,docs/examples 改动不入包。无 ABI 变化。验证:本地 rpmbuild -bp 与 rpmbuild -bc 均通过(rc=0)。