همهٔ گزارش‌ها
زیاد

Git LFS may execute arbitrary commands via crafted Git configurations

متن اصلی

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

نسخه‌های متأثر
>= 3.0.0, < 3.8.1
نسخهٔ اصلاح‌شده
3.8.1
نسخه‌های متأثر
>= 0.6.0, <= 2.13.3
نسخهٔ اصلاح‌شده
اعلام نشده

بهره‌برداری

CVE-2026-105802

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

FIRST EPSS · ۱۴۰۵/۰۹/۰۱

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

Impact

When fetching objects from a malicious repository, Git LFS may execute an arbitrary command or binary after incorrectly parsing the Git configuration options defined for a submodule.

Git LFS reads Git configuration options without checking for embedded line-ending control characters. By inserting control characters such as line feed (LF) into certain values, an attacker may be able to mimic options that cause Git LFS to execute an arbitrary command when fetching or adding objects.

Git LFS has resolved this issue by always using an unambiguous format to read and parse Git configuration options.

Patches

This problem exists in all versions since 0.6.0 and is patched in v3.8.1. All users should upgrade to v3.8.1.

Workarounds

To work around the problem, users should prevent Git from initializing any submodules by disabling the fetch.recurseSubmodules and submodule.recurse configuration options and by never running the git submodule init command. Any submodules which have already been initialized in a repository may be deactivated with the git submodule deinit command.

For more information

If you have any questions or comments about this advisory:

پیوندها

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

  • izzysec