CVE-2026-55158wktk conflibot
Command injection in Conflibot via branch name interpolation in git commands
Critical 9.1 No auth needed
Follow: this CVE · wktk · wktk conflibot We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- —
- Auth required
- No
- Published
- Sep 15, 2026
- Updated
- Sep 29, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-78
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
What happens
Conflibot prior to 1.2.1 interpolates attacker-controlled branch names into git commands executed without sanitization. An attacker can open a pull request from a fork with shell metacharacters in the branch name, causing arbitrary command execution on the runner with access to repository secrets and GitHub tokens.
Show the original NVD text
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.
What to do
Patch available · fixed versions: 1.2.1, 2.0.0
Update Conflibot to version 1.2.1 or 2.0.0 or later.
- Apply the vendor's security update for conflibot.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| GitHub Actions | wktk/conflibot |
< 1.2.1 |
1.2.1 |
— |
Per OSV / GitHub Advisories (GHSA-2qvg-qr73-mqxp). Check the version in your lockfile before upgrading.
Affected products
- wktk · conflibot
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.