4.3medium
Weblate: Missing access control for the AddonViewSet API exposes all addon configurations
- Severity
- 4.3medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.36% (higher than 31% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-wppc-7cq7-cgfvPYSEC-2026-2310
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| WeblateOrg weblate | < 5.16.1 | CVE List |
| weblate (PyPI) | before 5.16.1 | GitHub Advisory Database, PyPA Advisory Database |
| weblate weblate | before 5.16.1 | NVD |
All scores
| GitHub_M | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| GitHub | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| PyPA Advisory Database | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
Impact
Users were able to obtain add-on configuration via API.
Patches
References
Weblate thanks @lighthousekeeper1212 for responsible disclosure.
NVD (es)
Weblate es una herramienta de localización basada en web. Antes de la versión 5.16.1, el `AddonViewSet` de la API REST (`weblate/api/views.py`, línea 2831) utiliza `queryset = Addon.objects.all()` sin sobrescribir `get_queryset()` para limitar el alcance de los resultados por permisos de usuario. Esto permite a cualquier usuario autenticado (o usuarios anónimos si `REQUIRE_LOGIN` no está configurado) listar y recuperar TODOS los complementos en todos los proyectos y componentes a través de `GET /api/addons/` y `GET /api/addons/{id}/`. La versión 5.16.1 soluciona el problema.
References
| https://github.com/WeblateOrg/weblate/security/advisories/GHSA-wppc-7cq7-cgfv | fix, patch, vendor-advisory, web | |
| https://github.com/WeblateOrg/weblate/pull/18107 | fix, issue-tracking, patch, web | |
| https://github.com/WeblateOrg/weblate/pull/18164 | fix, issue-tracking, patch, web | |
| https://github.com/WeblateOrg/weblate/commit/3f58f9a4152bc0cbdd6eff5954f9c7bc4d9f0af9 | fix, patch, web | |
| https://github.com/WeblateOrg/weblate/commit/7802c9b121eb407c48d4adddd4f2458fb3efef0f | fix, patch, web | |
| https://github.com/WeblateOrg/weblate/releases/tag/weblate-5.16.1 | advisory, product, release-notes, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-27457 | advisory | |
| https://github.com/WeblateOrg/weblate | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-27457 changed 2026-03-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-wppc-7cq7-cgfv changed 2026-07-13 | CC-BY-4.0 |
| NVD | CVE-2026-27457 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2026-2310 changed 2026-07-13 | CC-BY-4.0 |