CVE-2026-55158
CRITICAL 9.1CVSS 3.1conflibot vulnerable to command injection via crafted pull request branch names under pull_request_target
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.
- Published
- 15 Sep 2026
- Last modified
- 29 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-78
- Also known as
- GHSA-2qvg-qr73-mqxp
- Sources
- NVDJSONOSV GHSA-2qvg-qr73-mqxpJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | GitHub Actions | wktk/conflibot | < 1.2.1 | 1.2.1 |
References
- https://github.com/wktk/conflibot/commit/0107ac6a4575ea200d0b92287ea58f975be9505d
- https://github.com/wktk/conflibot/commit/59e255c49c920fd6b67471ab9ef3bf194439a3f2
- https://github.com/wktk/conflibot/pull/329
- https://github.com/wktk/conflibot/releases/tag/v1.2.1 · WEB
- https://github.com/wktk/conflibot/releases/tag/v2.0.0 · WEB
- https://github.com/wktk/conflibot/security/advisories/GHSA-2qvg-qr73-mqxp · WEB
- https://github.com/wktk/conflibot/commit/0107ac6 · WEB
- https://github.com/wktk/conflibot/commit/59e255c · WEB
- https://github.com/wktk/conflibot · PACKAGE
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 15 Sep 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 17 Aug 2026)