VYPR
High severity8.8NVD Advisory· Published Jul 15, 2026· Updated Aug 18, 2026

CVE-2026-49987

CVE-2026-49987

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 packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
repomixnpm
< 1.14.11.14.1

Affected products

2
  • Yamadashy/repomix2 versions
    cpe:2.3:a:yamadashy:repomix:*:*:*:*:*:*:*:*+ 1 more
    • cpe:2.3:a:yamadashy:repomix:*:*:*:*:*:*:*:*range: <1.14.1
    • (no CPE)range: <1.14.1

Patches

Vulnerability mechanics

References

4

News mentions

0

No linked articles in our index yet.