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.
CVSS

No CVSS.

Configurations

No configuration.

History

15 Jul 2026, 20:17

Type Values Removed Values Added
References () https://github.com/yamadashy/repomix/security/advisories/GHSA-9mm9-rqhj-j5mx - () https://github.com/yamadashy/repomix/security/advisories/GHSA-9mm9-rqhj-j5mx -

15 Jul 2026, 19:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-07-15 19:17

Updated : 2026-07-15 20:17


NVD link : CVE-2026-49987

Mitre link : CVE-2026-49987

CVE.ORG link : CVE-2026-49987


JSON object : View

Products Affected

No product.

CWE
CWE-88

Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')