p PatchFirst

CVE-2026-49987

CVE-2026-49987 · Repomix: Command Injection (RCE) via `--remote-branch` Argument Injection

Здесь приведены факты из открытых источников об уязвимостях. Перед обновлением ознакомьтесь с исходным сообщением.

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 7.5 · Высокий · EPSS 0,7% · Есть исправление

Опубликовано
Обновлено

Стек: node

Затронутые продукты и версии

  • repomix

    Версии
    • < 1.14.1: Затронуто

    Нет опубликованного исправления

  • repomix npm

    Затронутые диапазоны версий
    • SEMVER: < 1.14.1

    Обновитесь до 1.14.1

Первоисточники

Проверьте свой сервер →