GHSA-2qvg-qr73-mqxp: OS Command Injection

Published Aug 17, 2026
·
Updated

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 pullrequesttarget event, where the job has access to the base repository's secrets and a write-scoped GITHUBTOKEN. 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 pullrequesttarget (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

Affected Software

1 affected componentFixes available
actions/wktk/conflibot<1.2.1
1.2.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade actions/wktk/conflibot to a version that resolves this vulnerability.

    Fixed in 1.2.1
  2. Upgrade

    Upgrade wktk/conflibot to a version that resolves this vulnerability.

    Fixed in 1.2.1
  3. Upgrade

    Upgrade wktk/conflibot to a version that resolves this vulnerability.

    Fixed in 2.0.0
  4. Compensating control

    For the workflow, use the recommended `pull_request_target` configuration noting the risk is highest there because the job has access to the base repository's secrets and a write-scoped `GITHUB_TOKEN` (so ensure conflibot is upgraded to v1.2.1 or v2.0.0 before using it on this event).

Event History

Aug 17, 2026
Advisory Published
via GitHub·01:35 PM
Data Sourced
via GitHub·01:35 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of GHSA-2qvg-qr73-mqxp?

GHSA-2qvg-qr73-mqxp has a critical severity score of 9.1.

2

What is the impact of GHSA-2qvg-qr73-mqxp?

This vulnerability allows an attacker to execute arbitrary commands through OS command injection due to unsafe handling of user-controlled inputs.

3

How do I fix GHSA-2qvg-qr73-mqxp?

To resolve GHSA-2qvg-qr73-mqxp, update conflibot to version 1.2.1 or later.

4

What versions are affected by GHSA-2qvg-qr73-mqxp?

Versions of conflibot before 1.2.1 are affected by GHSA-2qvg-qr73-mqxp.

5

What type of vulnerability is GHSA-2qvg-qr73-mqxp classified as?

GHSA-2qvg-qr73-mqxp is classified as an OS Command Injection vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203