Back to overview

CVE-2026-49987

HIGH Exploitation: PoC
7.5
CVSS 4.0
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.

Metadata

CVE ID
CVE-2026-49987
State
PUBLISHED
Assigner
GitHub_M
Reserved
2026-06-02 18:30 UTC
Published
2026-07-15 18:06 UTC
Last updated
2026-07-15 19:40 UTC
Primary CWE
CWE-88
CWE-88: Improper Neutralization of Argument Delimiters in a …
Vendor / Product
yamadashy / repomix
Sources
cve.org  ·  NVD

Severity & Metrics

7.5 HIGH CVSS 4.0
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SSVC — CISA Coordinator
Exploitation
PoC
Automatable
no
Tech. Impact
total
Affected products (1)
VendorProductPlatformVersions
yamadashy repomix < 1.14.1
Weakness (CWE)
CWESourceDescription
CWE-88 cna CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
CVSS scores (1)
ScoreSeverityVersionSourceVector
7.5 HIGH 4.0 cna CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
References (3)
Back to overview