目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-118386— Gitea Actions 拉取请求审查工作流信任漏洞

一分钟漏洞结论

影响对象
Gitea Gitea
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

由拉取请求(Pull Request)审查触发的工作流,原本是从审查中指定的 所对应的提交中读取的;然而,分支限制(fork restrictions)却是依据被审查的拉取请求本身来决定的,且并未验证该提交是否确实属于该拉取请求。拥有仓库只读权限的用户,可通过分支拉取请求或 AGit 推送,将自己创建的提交放入该仓库中,随后提交一次审查,并在审查中指定该提交,同时目标拉取请求的头部分支位于同一仓库内。在配备有为该仓库服务的 Runner 的实例上,攻击者的工作流将在未经批准的情况下执行,从而获取仓库及其所有者的 A

AI 预测 9.8 利用难度: 中等

影响版本矩阵 1

厂商产品 版本范围状态
Gitea Gitea 1.19.0< 28.3.0 affected
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-118386 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
Gitea Actions fork workflow trust through pull request review commit
来源: CVE Program / CVE List V5
Vulnerability Description
Workflows triggered by a pull request review were read from the commit named in the review's `commit_id`, while the fork restrictions were decided by the reviewed pull request, and the commit was not checked to belong to that pull request. A user with read access to a repository could place a commit of their own in it, through a fork pull request or an AGit push, and submit a review naming that commit on a pull request whose head branch is in the same repository. On instances with a runner serving the repository, the attacker's workflow then ran without approval, received the Actions secrets of the repository and its owner, and got a `GITEA_TOKEN` with write access to the repository. Review-triggered workflows now run on the pull request head.
来源: CVE Program / CVE List V5
CVSS Information
N/A
来源: CVE Program / CVE List V5
Vulnerability Type
授权机制不正确
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
Gitea Gitea 1.19.0 ~ 28.3.0 -

二、漏洞 CVE-2026-118386 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-118386 的情报信息

请登录查看更多情报信息。

CVE-2026-118386 其他参考 (5)

同批安全公告 · Gitea · 2026-11-01 · 共 20 条

CVE-2026-117649 Gitea 通过依赖时间线事件泄露私有问题
CVE-2026-120263 Gitea OAuth2 账号自动关联接管漏洞
CVE-2026-112887 Gitea Actions 私有仓库枚举漏洞
CVE-2026-113429 Gitea Actions 存储型跨站脚本漏洞
CVE-2026-114199 Gitea 贡献热力图私活动向公开令牌披露漏洞
CVE-2026-116289 Gitea Actions 注册绕过仅公开 Token 漏洞
CVE-2026-116296 Gitea 归档仓库修改漏洞
CVE-2026-116474 Gitea Actions 实例签名提交令牌伪造漏洞
CVE-2026-117635 Gitea 管理 API 公开令牌范围绕过漏洞
CVE-2026-117646 Gitea 个人资料页面私有仓库列表泄露漏洞
CVE-2026-119627 Gitea 公开令牌泄露受限个人资料漏洞
CVE-2026-117677 Gitea Helm chart 上传解压拒绝服务漏洞
CVE-2026-117685 Gitea 私有 OCI 包令牌越权访问漏洞
CVE-2026-118394 Gitea 公开令牌泄露私有群组信息漏洞
CVE-2026-118395 Gitea 仓库与组织创建公开令牌绕过漏洞
CVE-2026-118504 Gitea 归档仓库 API 可修改 issue 漏洞
CVE-2026-119441 Gitea 批量删除组织仓库时公开令牌绕过漏洞
CVE-2026-119533 Gitea 项目看板私有拉取请求泄露漏洞
CVE-2026-119625 Gitea 用户与组织 feed token 范围绕过漏洞

IV. Related Vulnerabilities