Weblate: Missing access control for the AddonViewSet API exposes all addon configurations
WeblateOrg weblate
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| weblate PyPI |
|
|
Original description
Weblate is a web based localization tool. Prior to version 5.16.1, the REST API's `AddonViewSet` (`weblate/api/views.py`, line 2831) uses `queryset = Addon.objects.all()` without overriding `get_queryset()` to scope results by user permissions. This allows any authenticated user (or anonymous users if `REQUIRE_LOGIN` is not set) to list and retrieve ALL addons across all projects and components via `GET /api/addons/` and `GET /api/addons/{id}/`. Version 5.16.1 fixes the issue.
From the CVE record · GitHub_M