CVE-2026-55158: Wktk/conflibot Conflibot Vulnerable To Command Injection Vulnerability

CRITICAL
Advisory Identifier: GHSA-2qvg-qr73-mqxp
CVSS 9.1
CWE-78
Published
Advisory Summary

CVE-2026-55158 is a CRITICAL (CVSS 9.1) conflibot vulnerable to command injection vulnerability (CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')) affecting Wktk/conflibot libraries in the GitHub Actions ecosystem. The issue involves conflibot vulnerable to command injection via crafted pull request branch names under pull_request_target. Remediation is available by upgrading affected packages to version 1.2.1.

CVE-2026-55158 at a Glance

CVE Identifier CVE-2026-55158
GHSA Identifier GHSA-2qvg-qr73-mqxp
Severity CRITICAL
CVSS v3.1 Base Score 9.1
CWE Classification CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Affected Product Wktk/conflibot
Package Ecosystem GitHub Actions
Published Date
Last Updated

Security Impact

CVSS: 9.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2026-55158

To remediate this vulnerability, upgrade all affected Wktk/conflibot dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

wktk/conflibot fixed: 1.2.1
Upgrade wktk/conflibot to 1.2.1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for wktk/conflibot

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-55158, inspect your project dependencies for Wktk/conflibot:

inspect dependencies for wktk/conflibot

Analyze the terminal output to locate any version of Wktk/conflibot in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.2.1), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'), where the product constructs all or part of an os command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended os command when it is sent to a downstream component. In Wktk/conflibot, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact Versions of conflibot before `1.2.1` build `git` commands by string interpolation and run them through a shell. Several of the interpolated values are pull request branch names (`head.ref`), which are attacker-controlled: anyone can open a pull request (including from a fork) whose head branch name contains shell metacharacters such as `` ` ``, `$( )`, `;`, `|`, or `&`. The recommended workflow runs conflibot on the `pull_request_target` event, where the job has access to the base repository's secrets and a write-scoped `GITHUB_TOKEN`. As a result, a crafted branch name causes arbitrary command execution on the runner with that write token in the environment, allowing an attacker to exfiltrate secrets and the token, push to the repository, or otherwise abuse the token's permissions. No special privileges and no maintainer interaction are required — the action runs automatically when the pull request is opened. ### Affected configurations Any workflow using `wktk/conflibot` at a version earlier than `1.2.1`. The risk is highest under `pull_request_target` (the documented configuration), because that is where the write token and secrets are exposed to attacker-influenced refs. ### Patches Fixed in `1.2.1` and `2.0.0`. All `git` invocations now use argument arrays via `execFile`/`spawn` instead of a shell, so branch names can no longer be interpreted as shell syntax, and pull requests are referenced by number through `refs/pull/<n>/head` rather than by branch name. ### Workarounds There is no configuration-only workaround for affected versions. Upgrade to `wktk/conflibot@v2`. On GitHub-hosted runners this is a drop-in upgrade; self-hosted runners additionally need Node.js 24 support and git 2.38 or later. ### Resources - Fix (v2.0.0): https://github.com/wktk/conflibot/commit/0107ac6 - Fix (v1.2.1): https://github.com/wktk/conflibot/commit/59e255c - Releases: https://github.com/wktk/conflibot/releases/tag/v2.0.0 and https://github.com/wktk/conflibot/releases/tag/v1.2.1

CVE-2026-55158 Affected Wktk/conflibot Versions

1 component(s)
Fixed Versions:
1.2.1
Product / Package Ecosystem Affected Versions Fixed Version
wktk/conflibot
GitHub Actions
< 1.2.1
1.2.1

References

Frequently Asked Questions

What is CVE-2026-55158?
CVE-2026-55158 is a security vulnerability in Wktk/conflibot involving conflibot vulnerable to command injection via crafted pull request branch names under pull_request_target under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection').
Which Wktk/conflibot versions are affected?
Affected versions include releases prior to 1.2.1 across affected packages: wktk/conflibot.
What version fixes CVE-2026-55158?
Upgrading to 1.2.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is wktk/conflibot affected?
Yes, wktk/conflibot is affected in releases prior to 1.2.1. Upgrade your dependency to 1.2.1 or later.
What is the CVSS score of CVE-2026-55158?
CVE-2026-55158 has a CVSS v3.1 base score of 9.1 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N.
What CWE is associated with CVE-2026-55158?
CVE-2026-55158 is classified under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.).
How can I check GitHub Actions dependencies for CVE-2026-55158?
Run the dependency tree command: 'inspect dependencies for wktk/conflibot'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-2qvg-qr73-mqxp",
  "modified" : "2026-08-17T13:35:07Z",
  "published" : "2026-08-17T13:35:07Z",
  "aliases" : [ "CVE-2026-55158" ],
  "summary" : "conflibot vulnerable to command injection via crafted pull request branch names under pull_request_target",
  "details" : "### Impact\n\nVersions of conflibot before `1.2.1` build `git` commands by string interpolation and run them through a shell. Several of the interpolated values are pull request branch names (`head.ref`), which are attacker-controlled: anyone can open a pull request (including from a fork) whose head branch name contains shell metacharacters such as `` ` ``, `$( )`, `;`, `|`, or `&`.\n\nThe recommended workflow runs conflibot on the `pull_request_target` event, where the job has access to the base repository's secrets and a write-scoped `GITHUB_TOKEN`. As a result, a crafted branch name causes arbitrary command execution on the runner with that write token in the environment, allowing an attacker to exfiltrate secrets and the token, push to the repository, or otherwise abuse the token's permissions. No special privileges and no maintainer interaction are required — the action runs automatically when the pull request is opened.\n\n### Affected configurations\n\nAny workflow using `wktk/conflibot` at a version earlier than `1.2.1`. The risk is highest under `pull_request_target` (the documented configuration), because that is where the write token and secrets are exposed to attacker-influenced refs.\n\n### Patches\n\nFixed in `1.2.1` and `2.0.0`. All `git` invocations now use argument arrays via `execFile`/`spawn` instead of a shell, so branch names can no longer be interpreted as shell syntax, and pull requests are referenced by number through `refs/pull/<n>/head` rather than by branch name.\n\n### Workarounds\n\nThere is no configuration-only workaround for affected versions. Upgrade to `wktk/conflibot@v2`. On GitHub-hosted runners this is a drop-in upgrade; self-hosted runners additionally need Node.js 24 support and git 2.38 or later.\n\n### Resources\n\n- Fix (v2.0.0): https://github.com/wktk/conflibot/commit/0107ac6\n- Fix (v1.2.1): https://github.com/wktk/conflibot/commit/59e255c\n- Releases: https://github.com/wktk/conflibot/releases/tag/v2.0.0 and https://github.com/wktk/conflibot/releases/tag/v1.2.1",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "GitHub Actions",
      "name" : "wktk/conflibot"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.2.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/wktk/conflibot/security/advisories/GHSA-2qvg-qr73-mqxp"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/wktk/conflibot/commit/0107ac6"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/wktk/conflibot/commit/59e255c"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/wktk/conflibot"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/wktk/conflibot/releases/tag/v1.2.1"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/wktk/conflibot/releases/tag/v2.0.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-78" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-08-17T13:35:07Z",
    "nvd_published_at" : null
  }
}