{"id":"CVE-2026-55158","published":"2026-09-15T14:47:58Z","modified":"2026-09-17T14:42:35Z","title":"Conflibot: Command injection via crafted pull request branch names under pull_request_target","vendor":"wktk","product":"conflibot","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00804,"percentile":0.57618,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/wktk/conflibot/security/advisories/GHSA-2qvg-qr73-mqxp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/wktk/conflibot/pull/329","tags":["x_refsource_MISC"]},{"url":"https://github.com/wktk/conflibot/commit/0107ac6a4575ea200d0b92287ea58f975be9505d","tags":["x_refsource_MISC"]},{"url":"https://github.com/wktk/conflibot/commit/59e255c49c920fd6b67471ab9ef3bf194439a3f2","tags":["x_refsource_MISC"]},{"url":"https://github.com/wktk/conflibot/releases/tag/v1.2.1","tags":["x_refsource_MISC"]},{"url":"https://github.com/wktk/conflibot/releases/tag/v2.0.0","tags":["x_refsource_MISC"]}],"priority":{"score":17.9,"factors":[{"name":"EPSS percentile","points":11.52},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"wktk","affectedVersions":[{"vendor":"wktk","product":"conflibot","versions":["< 1.2.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-09-17T14:42:13.306848Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"GitHub Actions","package":"wktk/conflibot","vulnerableRanges":["<1.2.1"],"patched":["1.2.1"],"from":["GHSA-2qvg-qr73-mqxp"],"provenance":"source"}],"summary":{"text":"Conflibot, a GitHub pull request conflict-warning tool published by wktk, builds git commands from the pull request head branch name without proper escaping, in versions prior to 1.2.1 (src/index.ts). When configured with pull_request_target, an unauthenticated remote attacker who can open a pull request, including from a fork, with a branch name containing shell metacharacters can have those characters executed as commands on the runner with no maintainer interaction, gaining access to base-repository secrets and a write-scoped token.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:35:02Z"},"euvd":{"id":"EUVD-2026-78769","exploited":false,"provenance":"source"}}