CVE-2026-55158
Conflibot warns in advance when merging a pull request will cause …
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/wktk/conflibot/security/advisories/GHSA-2qvg-qr73-mqxp
- github.com/wktk/conflibot/commit/0107ac6
- github.com/wktk/conflibot/commit/59e255c
- github.com/wktk/conflibot/releases/tag/v1.2.1
- github.com/wktk/conflibot/releases/tag/v2.0.0
- github.com/advisories/GHSA-2qvg-qr73-mqxp
- github.com/wktk/conflibot/commit/0107ac6a4575ea200d0b92287ea58f975be9505d
- github.com/wktk/conflibot/commit/59e255c49c920fd6b67471ab9ef3bf194439a3f2
- nvd.nist.gov/vuln/detail/CVE-2026-55158
- cve.org/CVERecord?id=CVE-2026-55158
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.