Repomix: Command Injection (RCE) via `--remote-branch` Argument Injection
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| yamadashy | repomix | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Yamadashy | Repomix |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-9mm9-rqhj-j5mx | repomix Vulnerable to Command Injection (RCE) via `--remote-branch` Argument Injection |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.698% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:2.3:a:yamadashy:repomix:*:*:*:*:*:*:*:* | |
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Yamadashy
Yamadashy repomix |
|
| Vendors & Products |
Yamadashy
Yamadashy repomix |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Repomix: Command Injection (RCE) via `--remote-branch` Argument Injection | |
| Weaknesses | CWE-88 | |
| References |
| |
| Metrics |
cvssV4_0
|