Arbitrary Argument Injection Affecting repomix package, versions <1.14.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Social Trends
EPSS
0.07% (21st percentile)

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 IDSNYK-JS-REPOMIX-17817038
  • published4 Jul 2026
  • disclosed1 Jul 2026
  • creditUnknown

Introduced: 1 Jul 2026

NewCVE-2026-49987  (opens in a new tab)
CWE-88  (opens in a new tab)

How to fix?

Upgrade repomix to version 1.14.1 or higher.

Overview

repomix is an A tool to pack repository contents to single file for AI consumption

Affected versions of this package are vulnerable to Arbitrary Argument Injection via unsanitized input to the remoteBranch parameter in the execGitShallowClone process. An attacker can execute arbitrary system commands with the privileges of the user running the application by injecting malicious options into the command-line arguments passed to subprocesses.

CVSS Base Scores

version 4.0
version 3.1