توضیح (فارسی)
CVE-2026-144938 جزئیات یک آسیبپذیری در دستور Git Add مربوط به add-and-commit را توضیح میدهد که در آن بررسیهای نامناسب به مشارکتها اجازه میدهد gitlinkهایی ایجاد کنند که به دایرکتوریهای مخرب اشاره میکنند. این نقص زمانی رخ میدهد که یک مشارکتکننده یک دایرکتوری را کنترل میکند و یک gitlink ثبت میکند که به یک دایرکتوری .git تو در تو منجر میشود بدون مدیریت خطای مناسب. نتیجه آن، commit یک ساختار دایرکتوری غیرمقصد را ثبت میکند که احتمالاً بر یکپارچگی workflow تأثیر میگذارد. این مسئله در نحوه پردازش ورودیهای staged نهفته است که به کاربر اجازه میدهد مسیرها و نامهای commit دلخواه را تعیین کند، که میتواند پیامدهایی در workflowهای بعدی داشته باشد که pull requestها را checkout و پردازش میکنند.
Original description (English)
CVE-2026-144938 details a vulnerability in the add-and-commit Git add command where improper checks allow contributors to create gitlinks targeting malicious directories. The flaw occurs when a contributor controls a directory and commits a gitlink that leads to a nested .git directory without adequate error handling. As a result, the commit records an unintended directory structure, potentially affecting workflow integrity. The issue resides in how staged entries are processed, allowing the user to set arbitrary paths and commit names, which could have ramifications during subsequent workflows that check out and process pull requests.