Conflibot: Command injection via crafted pull request branch names under pull_request_target
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-78.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| wktk | conflibot | before 1.2.1 | 1.2.1 | Patch available | CNA |
| — | wktk/conflibot (GitHub Actions) | before 1.2.1 | 1.2.1 | Patch available | GHSA-2qvg-qr73-mqxp |
- conflibot Vendorwktk Affected before 1.2.1 Fixed in 1.2.1 Patch available CNA
- wktk/conflibot (GitHub Actions) Vendor— Affected before 1.2.1 Fixed in 1.2.1 Patch available GHSA-2qvg-qr73-mqxp
Remediation
- Fix · CNA conflibot (wktk) Fixed in 1.2.1
- Fix · GHSA-2qvg-qr73-mqxp wktk/conflibot (GitHub Actions) Fixed in 1.2.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-55158
- 2026-10-03 Alias added: GHSA-2qvg-qr73-mqxp
References
Other 9
- https://github.com/wktk/conflibot/security/advisories/GHSA-2qvg-qr73-mqxp
- https://github.com/wktk/conflibot/pull/329
- https://github.com/wktk/conflibot/commit/0107ac6a4575ea200d0b92287ea58f975be9505d
- https://github.com/wktk/conflibot/commit/59e255c49c920fd6b67471ab9ef3bf194439a3f2
- https://github.com/wktk/conflibot/releases/tag/v1.2.1
- https://github.com/wktk/conflibot/releases/tag/v2.0.0
- https://github.com/wktk/conflibot/commit/0107ac6
- https://github.com/wktk/conflibot/commit/59e255c
- https://github.com/wktk/conflibot
Sources
- CVE-2026-55158 · CVE Program
- CVE-2026-55158 · NVD
- FIRST EPSS
- GHSA-2qvg-qr73-mqxp · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences