Open
fix(cve): 修复 CVE-2026-88624 在 opencode 中的漏洞 #16
fix(cve): 修复 CVE-2026-88624 在 opencode 中的漏洞 #16
Open
infra_teamAdd on Sep 26
Sep 26

当前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-88624
  • 策略:backport
  • 改动详情:
    • 新增 backport-CVE-2026-88624-worktree-path-containment.patch:packages/opencode/src/worktree/index.ts Worktree.remove 增加路径包含校验,仅当待清理目录位于项目主 worktree 之内且不等于其本身时才执行递归删除,阻断任意递归目录删除(CWE-22)
    • opencode.spec:新增 Patch0 及 %prep 阶段 %patch0 -p1,Release 2 -> 3,追加 changelog 1.17.13-3

该PR关联的issue

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

希望检视人员了解:

likedislike
Merge blocked
Iinfra_team
Sep 26 Created pull request, commit 769135a5
Iinfra_team
Sep 26 Associated issue: CVE-2026-88624
openeuler-ci-bot
openeuler-ci-botCollaborators
Sep 26 Comments:

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

Protected Branch Version Release
master 1.17.13 2
openEuler-24.03-LTS-SP4 1.17.13 2
openEuler-24.03-LTS-SP3 1.17.13 2
openEuler-24.03-LTS-Next 1.17.13 2
openEuler-26.09-DevStation 1.17.13 2
openEuler-26.09 1.17.13 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
Sep 26 Added label: ai-co-authored
openeuler-ci-botopeneuler-ci-botCollaborators
Sep 26 Added label: ai-includes-code
openeuler-ci-bot
openeuler-ci-botCollaborators
Sep 26 Comments:

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

likedislike
openeuler-ci-botopeneuler-ci-botCollaborators
Sep 26 Added label: ci_processing
openeuler-ci-botopeneuler-ci-botCollaborators
Sep 26 Set lipingEmmaSiguyi,dingjiahuichina,superninesun,randy1568,duan_pengjie as approver
openeuler-ci-bot
openeuler-ci-botCollaborators
Sep 26 Comments:

aarch64架构构建及构建后检查:multiarch/src-openeuler/aarch64/opencode/35/console

likedislike
openeuler-ci-bot
openeuler-ci-botCollaborators
Sep 26 Comments:

x86_64架构构建及构建后检查:multiarch/src-openeuler/x86-64/opencode/34/console

likedislike
openeuler-ci-botopeneuler-ci-botCollaborators
Sep 26 Added label: sig/sig-DevStation
openeuler-ci-bot
openeuler-ci-botCollaborators
Sep 26 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-DevStation ,
and any of the maintainers: @dingjiahuichina, @duan_pengjie, @lipingEmmaSiguyi, @randy1568, @superninesun ,

likedislike
openeuler-ci-botopeneuler-ci-botCollaborators
Sep 26 Added label: openeuler-cla/yes
openeuler-ci-bot
openeuler-ci-botCollaborators
Sep 26 Comments:

CLA Signature Pass

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

likedislike
openeuler-ci-botopeneuler-ci-botCollaborators
Sep 26 Added label: ai-compliance-successful
openeuler-ci-botopeneuler-ci-botCollaborators
Sep 26 Removed label: ci_processing
openeuler-ci-bot
openeuler-ci-botCollaborators
Sep 26 Comments:
Check Name Build Result 详情 Build Details
check_binary_file ⚠WARNING • 压缩包解压失败,请检查压缩文件格式是否正确 #35
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 #34
check_install ✅SUCCESS
check_license ✅SUCCESS
aarch64 check_build ✅SUCCESS #35
check_install ✅SUCCESS
check_license ✅SUCCESS
likedislike
openeuler-ci-botopeneuler-ci-botCollaborators
Sep 26 Added label: ci_successful
openeuler-ci-bot
openeuler-ci-botCollaborators
Sep 26 Comments:

如下为接口变更检查结果,目标分支为master,请PR提交者check差异信息

Arch Name Check Items Rpm Name Check Result Build Details
compare_package(x86_64) add_rpms ✅SUCCESS #34
delete_rpms ✅SUCCESS
rpm_cmd ✅SUCCESS
rpm_files ✅SUCCESS
rpm_provides ✅SUCCESS
rpm_requires ✅SUCCESS
rpm_symbol ✅SUCCESS
compare_package(aarch64) add_rpms ✅SUCCESS #35
delete_rpms ✅SUCCESS
rpm_cmd ✅SUCCESS
rpm_files ✅SUCCESS
rpm_provides ✅SUCCESS
rpm_requires ✅SUCCESS
rpm_symbol ✅SUCCESS
likedislike
openeuler-ci-bot
openeuler-ci-botCollaborators
Sep 26 Comments:
likedislike