Arbitrary Command Injection Affecting willitmerge package, versions *


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-WILLITMERGE-14135971
  • published27 Nov 2025
  • disclosed26 Nov 2025
  • creditLiran Tal

Introduced: 26 Nov 2025

New CVE NOT AVAILABLE CWE-77  (opens in a new tab)

How to fix?

There is no fixed version for willitmerge.

Overview

willitmerge is an A command line tool to check if pull requests are mergeable.

Affected versions of this package are vulnerable to Arbitrary Command Injection due to the use of insecure child process execution API (exec). An attacker can execute arbitrary system commands by supplying crafted input to command-line flags or by controlling repository data that is concatenated into shell commands.

PoC

Run it with the following command:

willitmerge --verbose --remote "https://github.com/lirantal/npq.git; touch /tmp/hel"

References

CVSS Base Scores

version 4.0
version 3.1