همهٔ گزارش‌ها
بحرانی

check-branches is vulnerable to command Injection

متن اصلی

نسخه‌های متأثر

نسخه‌های متأثر
<= 0.0.19
نسخهٔ اصلاح‌شده
اعلام نشده

بهره‌برداری

CVE-2025-11148

احتمال بهره‌برداری در ۳۰ روز آینده: 1.40%

FIRST EPSS · ۱۴۰۵/۰۸/۲۶

شرح آسیب‌پذیری

All versions of the package check-branches are vulnerable to Command Injection.

check-branches is a command-line tool that is interacted with locally, or via CI, to confirm no conflicts exist in git branches.

However, the library follows these conventions which can be abused:

  1. It trusts branch names as they are (plain text)

  2. It spawns git commands by concatenating user input

Since a branch name is potentially a user input - as users can create branches remotely via pull requests, or simply due to privileged access to a repository - it can effectively be abused to run any command.

پیوندها

گزارش‌دهندگان

  • lirantal