{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-55158","id":"CVE-2026-55158","title":"Conflibot: Command injection via crafted pull request branch names under pull_request_target","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","descriptionLong":"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":"2026-09-15T14:47:58.804Z","updated":"2026-10-28T02:30:33.602973364Z","reserved":"2026-06-16T15:13:28.165Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"GitHub_M"},"metrics":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"GitHub_M"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"github.com"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"OSV"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"GitHub"}],"rating":"critical","products":["wktk conflibot"],"affectedProducts":[{"vendor":"wktk","product":"conflibot","defaultStatus":null,"versions":[{"version":"< 1.2.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"GitHub Actions","name":"wktk/conflibot","purl":null,"ranges":["<1.2.1"],"fixed":["1.2.1"],"advisory":"GHSA-2qvg-qr73-mqxp"}],"cwes":["CWE-78"],"aliases":["GHSA-2qvg-qr73-mqxp"],"references":[{"url":"https://github.com/wktk/conflibot/security/advisories/GHSA-2qvg-qr73-mqxp","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/wktk/conflibot/pull/329","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/wktk/conflibot/commit/0107ac6a4575ea200d0b92287ea58f975be9505d","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/wktk/conflibot/commit/59e255c49c920fd6b67471ab9ef3bf194439a3f2","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/wktk/conflibot/releases/tag/v1.2.1","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/wktk/conflibot/releases/tag/v2.0.0","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55158.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55158","tags":["advisory"]},{"url":"https://github.com/wktk/conflibot/commit/0107ac6","tags":["web"]},{"url":"https://github.com/wktk/conflibot/commit/59e255c","tags":["web"]},{"url":"https://github.com/wktk/conflibot","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total"},"epss":0.00804,"epssPercentile":0.57488,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-55158","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55158","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-55158","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-2qvg-qr73-mqxp","ok":true,"note":"GHSA-2qvg-qr73-mqxp"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-55158","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}