CVE-2026-49987
HIGH
MEDIUM
Priority: 0.05
BB Relevance:
65/100
Published: 2026-07-15
Modified: 2026-10-24
First seen: 2026-10-29
Status: active
Attack Surface
Network
Low Complexity
No Auth
Conf. Impact
Integ. Impact
CVSS Vector Breakdown
AV:
Network
AC:
Low
PR:
None
UI:
Active
S:
X
AT:
Present
VC:
High
VI:
High
VA:
High
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.
Weakness Classification (1)
References & Advisories (3)
Release Notes
Patch
Exploit
Vendor Advisory
Mitigation