CVE-2026-144464

my.netkarin.net
جزئیات آسیب‌پذیری
CVE-2026-144464 بالا CVSS 7.1
آسیب پذیری Path Traversal در Appwrite 1.4.0 قبل از 1.9.10 و 2.6.0 قبل از 2.6.2 از طریق پارامتر providerRootDirectory
Appwrite 1.4.0 before 1.9.10 and 2.6.0 before 2.6.2 Path Traversal via providerRootDirectory Parameter
فروشنده: Appwrite
تاریخ انتشار: 2026-12-03 23:28:50
Appwrite

توضیح (فارسی)

Appwrite نسخه 1.4.0 قبل از 1.9.10 و نسخه 2.6.0 قبل از 2.6.2 دارای یک آسیب پذیری Path Traversal در builds worker است (فایل src/Appwrite/Platform/Modules/Functions/Workers/Builds.php در نسخه های فعلی). این component مقدار providerRootDirectory یک function یا site را تنها با حذف کاراکترهای ابتدایی '.' و '/' با استفاده از ltrim() پاکسازی می کند و سپس آن را به مسیر checkout repository اضافه می کند تا دایرکتوری که در deployment بسته بندی می شود را مشخص کند، بنابراین بخش های '..' بدون تغییر باقی می مانند. کاربران احراز هویت شده که اجازه ایجاد یا به روزرسانی function یا site را دارند، برای مثال با scope های functions.write یا sites.write، می توانند providerRootDirectory را در یک function یا site متصل به Git به مقداری مانند ../../../../../etc تنظیم کنند تا builds worker یک دایرکتوری خارج از checkout را بسته بندی کند و سپس deployment را دانلود کنند تا فایل ها را از container builds worker بخوانند، از جمله deployment ها و build های پروژه های دیگر که روی storage volume های mount شده توسط آن قرار دارند. در نسخه های 2.6.0 و 2.6.1 تنها function ها و site هایی که از طریق Entire Git provider متصل شده اند آسیب پذیر هستند.

Original description (English)

Appwrite 1.4.0 before 1.9.10 and 2.6.0 before 2.6.2 contains a path traversal vulnerability in the builds worker (src/Appwrite/Platform/Modules/Functions/Workers/Builds.php in current releases), which sanitizes the providerRootDirectory of a function or site only by stripping leading '.' and '/' characters with ltrim() and then appends it to the repository checkout path to choose the directory packaged into the deployment, so '..' segments survive. Authenticated users who can create or update functions or sites, for example with the functions.write or sites.write scope, can set providerRootDirectory on a Git-connected function or site to a value such as ../../../../../etc so that the builds worker packages a directory outside the checkout, then download the deployment to read files from the builds worker container, including other projects' deployments and builds on the storage volumes it mounts. In 2.6.0 and 2.6.1 only functions and sites connected through the Entire Git provider are affected.

7.1 امتیاز CVSS
1.0٪ احتمال بهره‌برداری (EPSS)
— تاریخ گزارش بهره‌برداری
— تاریخ ثبت در CISA