Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-49987: CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') in yamadashy repomix

0
High
VulnerabilityCVE-2026-49987cvecve-2026-49987cwe-88
Published: 07/15/2026 (07/15/2026, 18:06:27 UTC)
Source: CVE Database V5
Vendor/Project: yamadashy
Product: repomix

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.

CVSS v4.0

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

GitHub Actionsmore threats →ai
yamadashy/repomix
pkg:github/yamadashy/repomix
Affected versions
<1.14.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/15/2026, 18:47:29 UTC

Technical Analysis

The repomix tool versions before 1.14.1 contain an argument injection vulnerability (CWE-88) in the src/core/git/gitCommand.ts file. Specifically, the execGitShallowClone function passes the --remote-branch parameter directly to git fetch and git checkout commands without validation or the use of --end-of-options. This improper neutralization of argument delimiters allows attackers to inject additional Git options like --upload-pack, circumventing the validateGitUrl() checks and potentially executing arbitrary commands through local or SSH-style Git transports. The vulnerability has a CVSS 4.0 score of 7.5 (high severity) and is addressed by updating to repomix version 1.14.1.

Potential Impact

An attacker can exploit this vulnerability to inject arbitrary Git command options, potentially leading to command execution on the system where repomix is run. This bypasses existing URL validation protections and can compromise the integrity and security of the repository operations. The impact includes high confidentiality, integrity, and availability risks as indicated by the CVSS vector.

Mitigation Recommendations

This vulnerability is fixed in repomix version 1.14.1. Users should upgrade to version 1.14.1 or later to remediate this issue. No official patch or workaround is indicated beyond upgrading. Since this is not a cloud service, remediation depends on applying the fixed version.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-02T18:30:51.282Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a57d26668715ace43392469

Added to database: 07/15/2026, 18:33:10 UTC

Last enriched: 07/15/2026, 18:47:29 UTC

Last updated: 07/15/2026, 19:49:04 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses