CVE-2026-49987
Medium
Elevated severity or exploit probability.
CVSS base
8.8
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS — probability of exploitation (30 days)
0.7%
51.0th percentile
CISA KEV
Not listed
Weakness / dates
CWE-88
Published 2026-07-15 · modified 2026-08-18
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.
Affected
References
- https://github.com/yamadashy/repomix/commit/92bfa3193b5233a0d21beff929444153c088de82
- https://github.com/yamadashy/repomix/releases/tag/v1.14.1
- exploit https://github.com/yamadashy/repomix/security/advisories/GHSA-9mm9-rqhj-j5mx
- exploit https://github.com/yamadashy/repomix/security/advisories/GHSA-9mm9-rqhj-j5mx