# CVE-2026-55158: Conflibot: Command injection via crafted pull request branch names under pull_request_target

- Severity: Critical 9.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Published: 2026-08-17T13:35:07.000Z
- Modified: 2026-09-29T19:07:47.037Z
- Also known as: GHSA-2qvg-qr73-mqxp
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- wktk conflibot: < 1.2.1
- wktk/conflibot (GitHub Actions): before 1.2.1

## Every score

- GitHub_M: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/wktk/conflibot/security/advisories/GHSA-2qvg-qr73-mqxp> (web)
- <https://github.com/wktk/conflibot/pull/329>
- <https://github.com/wktk/conflibot/commit/0107ac6a4575ea200d0b92287ea58f975be9505d>
- <https://github.com/wktk/conflibot/commit/59e255c49c920fd6b67471ab9ef3bf194439a3f2>
- <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/commit/0107ac6> (web)
- <https://github.com/wktk/conflibot/commit/59e255c> (web)
- <https://github.com/wktk/conflibot> (package)

## Sources

- CVE List: [CVE-2026-55158](https://www.cve.org/CVERecord?id=CVE-2026-55158), CVE Terms of Use, modified 2026-09-17
- GitHub Advisory Database: [GHSA-2qvg-qr73-mqxp](https://github.com/advisories/GHSA-2qvg-qr73-mqxp), CC-BY-4.0, modified 2026-08-17
- NVD: [CVE-2026-55158](https://nvd.nist.gov/vuln/detail/CVE-2026-55158), Public domain, modified 2026-09-29

---

Page: https://cve.day/CVE-2026-55158 · Whole record: https://cve.day/CVE-2026-55158.json · Rebuilt by cve.day 2026-11-25T22:59:38.542Z
