همهٔ گزارش‌ها
متوسط

Weblate Vulnerable to Authenticated SSRF via Project Backup Import bypassing validate_repo_url

متن اصلی

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

بازه‌ها نیاز به بررسی دارند.

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

بهره‌برداری

CVE-2026-41654

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

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

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

Impact

An authenticated user with project.add permission (default on hosted Weblate SaaS and for any user holding an active billing/trial plan) can import a crafted project backup ZIP whose components/<name>.json contains an attacker-chosen repo URL pointing at a private address (e.g. http://127.0.0.1:9999/) or using a non-allow-listed scheme (e.g. file://, git://). Weblate persists the component via Component.objects.bulk_create([component])[0], which bypasses Django's full_clean() and therefore never runs the validate_repo_url validator. The URL is subsequently written verbatim into .git/config by configure_repo(pull=False).

Patches
Workarounds

Limiting who can create projects limits the scope.

Resources

Weblate thanks @fg0x0 for reporting this vulnerability via GitHub.

پیوندها

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

  • fg0x0
  • nijel