Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-55158— Conflibot: Command injection via crafted pull request branch names under pull_request_target

Quick assessment

Affected
wktk conflibot
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Conflibot 能够在合并 Pull Request(PR)之前,提前提示该操作是否会在其他已打开的 PR 中引发冲突。在 1.2.1 版本之前, 通过字符串插值方式构建 、 和 命令,其中直接拼接了攻击者可控制的 Pull Request 的 值到传递给 的字符串中。在已记录的 配置下,攻击者可以提交一个 Pull Request(包括来自 fork 仓库的 PR),其分支名中包含 shell 元字符(如 、 、 等),工作流会自动将这些字符解释为命令执行,无需维护者交互。这些命令在拥有基础仓库 secret

CVSS 9.1 · Critical
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-55158

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Conflibot: Command injection via crafted pull request branch names under pull_request_target
Source: CVE Program / CVE List V5
Vulnerability Description
Conflibot warns in advance when merging a pull request will cause conflicts in other open pull requests. Prior to 1.2.1, src/index.ts builds git checkout, git merge, and git format-patch commands by interpolating the attacker-controlled pull request head.ref value into strings passed to exec. In the documented pull_request_target configuration, an attacker can open a pull request, including from a fork, whose branch name contains shell metacharacters, and the workflow automatically interprets those characters as commands without maintainer interaction. The commands execute on a runner with base-repository secrets and a write-scoped GITHUB_TOKEN, allowing arbitrary command execution, secret or token exfiltration, unauthorized pushes, and other token abuse. The fixed implementations in src/index.ts and src/conflibot.ts use execFile or spawn argument arrays, and the v2 line also uses numeric pull-request refs rather than branch names. This issue is fixed in versions 1.2.1 and 2.0.0.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
wktk conflibot < 1.2.1 -

II. Public POCs for CVE-2026-55158

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-55158

登录查看更多情报信息。

Patches & Fixes for CVE-2026-55158 (3)

Vendor Advisories for CVE-2026-55158 (1)

Vendor Pages for CVE-2026-55158 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2026-55158

No comments yet


Leave a comment