Open
fix(cve): 修复 CVE-2026-116685 在 python-mcp 中的漏洞 #14
fix(cve): 修复 CVE-2026-116685 在 python-mcp 中的漏洞 #14
Open
infra_teamAdd on 21 days ago
infra_team
infra_team
21 days ago

当前PR是否有AI参与:

[ ] 否

[x] Yes
__1. AI Agent 平台: Claude Code / CVE Agent Team
__2. AI 模型 : glm-5.3-flash
__3. Prompt 上下文 : CVE 漏洞修复全流程:归属分析、修复方案设计(backport/upgrade)、patch 生成、SPEC 文件修改(Patch/Version/Release/Changelog)、本地构建验证(rpmbuild -bp)

PR功能描述 / 为什么需要这个合入:

  • 🔍 全量审计声明:本项目已基于上游主分支执行全量补丁审计
  • CVE: CVE-2026-116685
  • 策略:backport
  • 改动详情:
    • python-mcp.spec:新增 Patch1(backport-CVE-2026-116685.patch)声明并在 %setup 后显式 %patch1 -p1(原 %prep 为裸 %setup 无任何 PatchN);Release 1 -> 3,changelog 新增 1.12.3-3 条目
    • backport-CVE-2026-116685.patch:上游修复 commit 2106335(PR #3448,随 v1.30.0 发布)按 1.12.3 基线重锚的 format-patch,触 src/mcp/shared/_httpx_utils.py(移除恒开 follow_redirects,新增 origin 感知助手 _within_origin/request_within_origin/sse_within_origin/stream_within_origin/RedirectAwareAuth 等)、src/mcp/client/sse.py、src/mcp/client/streamable_http.py、src/mcp/client/auth.py(OAuth 元数据探测跨域重定向不再自动跟随),4 文件 +249/-66,跟随重定向仅限 MCP endpoint 同源内

该PR关联的issue

(格式为fixes #<issue号>, 或者resolves #<issue号>): fixes #13

希望检视人员了解:

likedislike
Merge blocked
infra_teaminfra_team
21 days ago Created pull request, commit f635c973
infra_teaminfra_team
21 days ago Associated issue: CVE-2026-116685
openeuler-ci-bot
openeuler-ci-botCollaborators
21 days ago Comments:

当前仓库存在以下 保护分支 :

Protected Branch Version Release
master 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
openEuler-24.03-LTS-Next 1.6.0 1

评论 /sync <branch1> <branch2> ... 可将当前 PR 修改同步到其它分支(创建同步 PR):
a) 如果当前 PR 是 Open 状态,同步操作将延迟到 PR 被合并时执行
b) 如果当前 PR 已经 Merged,将立即执行同步操作

注意:

  1. /sync 命令可以指定同步到多个分支,仅最后一个 /sync 命令生效
  2. 如果创建的同步 PR 不正确,可通过向同步 PR 的源分支提交轻量级 PR 完善,或使用 /close 命令关闭
likedislike
openeuler-ci-botopeneuler-ci-botCollaborators
21 days ago Added label: ai-co-authored
openeuler-ci-botopeneuler-ci-botCollaborators
21 days ago Added label: ai-includes-code
openeuler-bot
openeuler-botCollaborators
21 days ago Comments:

门禁正在运行, 您可以通过以下链接查看实时门禁检查结果.
若您对门禁结果含义不清晰或者遇到问题不知如何解决,可参考门禁指导手册
门禁入口及编码规范检查: multiarch/src-openeuler/trigger/python-mcp/13

likedislike
openeuler-botopeneuler-botCollaborators
21 days ago Added label: ci_processing
openeuler-ci-botopeneuler-ci-botCollaborators
21 days ago Set lyhu,huzhengce,liumiao27,zxstty,fromhsc,gogoxiaoxiao,wqianli,leon-wang2021,kaitiandu as approver
openeuler-ci-botopeneuler-ci-botCollaborators
21 days ago Added label: ai-compliance-successful
openeuler-ci-botopeneuler-ci-botCollaborators
21 days ago Added label: sig/sig-intelligence
openeuler-ci-bot
openeuler-ci-botCollaborators
21 days ago Comments:

Welcome To openEuler Community

Hey @infra_team , thanks for your contribution to the community.

Bot Usage Manual

I'm the Bot here serving you. You can find the instructions on how to interact with me at Here . That means you can comment below every pull request or issue to trigger Bot Commands. You can self-configure the PR merge rules for this repository. For more details, please refer to Here.

Contact Guide

If you have any questions, please contact the SIG: sig-intelligence ,
and any of the maintainers: @fromhsc, @gogoxiaoxiao, @huzhengce, @kaitiandu, @leon-wang2021, @liumiao27, @lyhu, @wqianli, @zxstty ,
and any of the committers: @lipingEmmaSiguyi, @wangkui35 .

likedislike
openeuler-ci-botopeneuler-ci-botCollaborators
21 days ago Added label: openeuler-cla/yes
openeuler-ci-bot
openeuler-ci-botCollaborators
21 days ago Comments:

CLA Signature Pass

infra_team, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
openeuler-bot
openeuler-botCollaborators
21 days ago Comments:

x86_64架构构建及构建后检查:multiarch/src-openeuler/x86-64/python-mcp/13

likedislike
openeuler-bot
openeuler-botCollaborators
21 days ago Comments:

aarch64架构构建及构建后检查:multiarch/src-openeuler/aarch64/python-mcp/13

likedislike
openeuler-botopeneuler-botCollaborators
21 days ago Removed label: ci_processing
openeuler-bot
openeuler-botCollaborators
21 days ago Comments:
Check Name Build Result 详情 Build Details
check_binary_file ✅SUCCESS #13
check_lfsconfig ☑EXCLUDE
check_package_yaml_file ✅SUCCESS
check_repo_in_maintain ✅SUCCESS
check_consistency ✅SUCCESS
check_spec_file ✅SUCCESS
x86_64 check_build ✅SUCCESS #13
check_install ✅SUCCESS
check_license ✅SUCCESS
aarch64 check_build ✅SUCCESS #13
check_install ✅SUCCESS
check_license ✅SUCCESS
likedislike
openeuler-botopeneuler-botCollaborators
21 days ago Added label: ci_successful
openeuler-bot
openeuler-botCollaborators
21 days ago Comments:
likedislike