CVE-2026-49987
Repomix is a tool that packs repositories into AI-friendly files. …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/yamadashy/repomix/security/advisories/GHSA-9mm9-rqhj-j5mx
- github.com/advisories/GHSA-9mm9-rqhj-j5mx
- github.com/yamadashy/repomix/commit/92bfa3193b5233a0d21beff929444153c088de82
- github.com/yamadashy/repomix/releases/tag/v1.14.1
- nvd.nist.gov/vuln/detail/CVE-2026-49987
- cve.org/CVERecord?id=CVE-2026-49987
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.