SEPTEMBER 9, 2026
Live Feed
Back to database
Case File

CVE-2026-49987

HIGH · CVSS 7.5 EPSS 0.50% Public Exploit

Source: NVD + CISA KEV + EPSS · Published 2026-07-15 · Last synced 2026-08-14

CyberRota Analysis

AI-Generated

Repomix versions prior to 1.14.1 are vulnerable to command injection due to improper validation of the --remote-branch parameter in the execGitShallowClone function. This flaw allows attackers to inject malicious Git options, potentially executing arbitrary commands via local or SSH transports. Organizations using Repomix should prioritize upgrading to version 1.14.1 to mitigate this security risk.

Public Exploit Signal

A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.

Note: these links are listed for security research and verification purposes only.

CVE
CVE-2026-49987
Severity
HIGH
CVSS
7.5
EPSS
0.50%

Original NVD Description

Repomix is a tool that packs repositories into AI-friendly files. Prior to 1.14.1, src/core/git/gitCommand.ts execGitShallowClone passes the --remote-branch value directly to git fetch and git checkout without validation or --end-of-options, allowing --upload-pack or other Git option injection that bypasses validateGitUrl() dangerous parameter checks and can execute commands through local or SSH-style transports. This issue is fixed in version 1.14.1.