CVE-2026-55158 Details
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.
A command injection vulnerability has been identified in Wktk Conflibot versions prior to 1.2.1. The issue arises in the GitHub Actions workflow when using the 'pull_request_target' event, which exposes a write-scoped GITHUB_TOKEN and base repository secrets. In this context, an attacker can craft a pull request with a branch name containing shell metacharacters. Conflibot, which is designed to detect merge conflicts, inadvertently executes arbitrary commands on the runner by interpolating these branch names into git commands that are then executed through a shell. This exploitation allows for unauthorized command execution, exfiltration of secrets and tokens, and abuse of repository permissions, such as pushing changes.
Users can upgrade to Wktk Conflibot version 1.2.1 or 2.0.0. The v2.0.0 release includes additional features and improvements, but both versions address the command injection vulnerability. Instructions for upgrading are available in the Conflibot repository.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 15, 2026CISA-ADP
Assessed Sep 17, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/wktk/conflibot/commit/0107ac6a4575ea200d0b92287ea58f975be9505d | [email protected] | Source CodeVendor |
| https://github.com/wktk/conflibot/commit/59e255c49c920fd6b67471ab9ef3bf194439a3f2 | [email protected] | Source CodeVendor |
| https://github.com/wktk/conflibot/pull/329 | [email protected] | Issue TrackingVendor |
| https://github.com/wktk/conflibot/releases/tag/v1.2.1 | [email protected] | Release NotesVendor |
| https://github.com/wktk/conflibot/releases/tag/v2.0.0 | [email protected] | Release NotesVendor |
| https://github.com/wktk/conflibot/security/advisories/GHSA-2qvg-qr73-mqxp | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| wktk/conflibot | < 1.2.1 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 17, 2026 | CVE Modified | CISA-ADP |
| Sep 15, 2026 | New CVE Received | [email protected] |
Volerion