Vulnerability in Yamadashy Repomix
CVE-2026-49987
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.007 (52.6th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 53rd percentile — 52.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.007 · newest: 0.007 · change: 0.000
Affected products
- Yamadashy Repomix — versions < 1.14.1
Weakness classification (CWE)
References
- github.com/yamadashy/repomix/security/advisories/GHSA-9mm9-rqhj-j5mx (Exploit, Mitigation, Vendor Advisory)
- github.com/yamadashy/repomix/commit/92bfa3193b5233a0d21beff929444153c088de82 (Patch)
- github.com/yamadashy/repomix/releases/tag/v1.14.1 (Release Notes)
Frequently asked questions
- What is CVE-2026-49987?
- CVE-2026-49987 is a high-severity vulnerability in Yamadashy Repomix, classified under Argument Injection. CVSS score: 8.8/10. Published 2026-07-15.
- How severe is CVE-2026-49987?
- High severity. CVSS v3 base score is 8.8 out of 10.