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

Configuration 1 (hide)

cpe:2.3:a:yamadashy:repomix:*:*:*:*:*:*:*:*

History

24 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) Repomix es una herramienta que empaqueta repositorios en archivos compatibles con IA. Antes de la versión 1.14.1, src/core/git/gitCommand.ts execGitShallowClone pasa el valor de --remote-branch directamente a git fetch y git checkout sin validación o --end-of-options, permitiendo la inyección de --upload-pack u otra opción de Git que omite las comprobaciones de parámetros peligrosos de validateGitUrl() y puede ejecutar comandos a través de transportes locales o de estilo SSH. Este problema se ha solucionado en la versión 1.14.1.

Information

Published : 2026-07-15 19:17

Updated : 2026-10-24 21:10


NVD link : CVE-2026-49987

Mitre link : CVE-2026-49987

CVE.ORG link : CVE-2026-49987


JSON object : View

Products Affected

yamadashy

  • repomix
CWE
CWE-88

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