{
  "id": "CVE-2026-55158",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-55158",
  "published_at": "2026-09-15T14:47:58.804Z",
  "title": "Conflibot: Command injection via crafted pull request branch names under pull_request_target",
  "vendor": "wktk",
  "product": "conflibot",
  "cvss": {
    "score": 9.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-78",
  "cvss_by_source": {
    "cna": 9.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "wktk",
        "product": "conflibot",
        "ranges": [
          "\u003c 1.2.1"
        ],
        "fixed_in": [
          "1.2.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade conflibot to 1.2.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/wktk/conflibot/security/advisories/GHSA-2qvg-qr73-mqxp"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/wktk/conflibot/pull/329"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/wktk/conflibot/commit/0107ac6a4575ea200d0b92287ea58f975be9505d"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/wktk/conflibot/commit/59e255c49c920fd6b67471ab9ef3bf194439a3f2"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/wktk/conflibot/releases/tag/v1.2.1"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/wktk/conflibot/releases/tag/v2.0.0"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
