CVE-2026-76073

Label Studio does not scope the annotation detail endpoint to the requesting user's organization. AnnotationAPI in label_studio/tasks/api.py declares queryset = Annotation.objects.all() and provides no get_queryset override, so the default lookup retrieves any annotation by primary key. The view's permission_required entries name annotations.view, annotations.change and annotations.delete, and label_studio/core/permissions.py registers every permission with rules.is_authenticated, so the check is satisfied by any logged-in account and no object-level organization test runs. The sibling task endpoint does constrain its queryset with project__organization set to the requester's active organization, which is the boundary this path omits. Annotation identifiers are sequential integers, so an authenticated user of one organization can enumerate identifiers to read, modify and delete annotations belonging to other organizations on the same instance. The same unscoped queryset appears on AnnotationConvertAPI in the same file.
Configurations

No configuration.

History

12 Oct 2026, 15:10

Type Values Removed Values Added
Summary
  • (es) Label Studio no limita el alcance del endpoint de detalle de anotación a la organización del usuario solicitante. AnnotationAPI en label_studio/tasks/api.py declara queryset = Annotation.objects.all() y no proporciona ninguna anulación de get_queryset, por lo que la búsqueda predeterminada recupera cualquier anotación por clave primaria. Las entradas permission_required de la vista nombran annotations.view, annotations.change y annotations.delete, y label_studio/core/permissions.py registra cada permiso con rules.is_authenticated, por lo que la verificación es satisfecha por cualquier cuenta con sesión iniciada y no se ejecuta ninguna prueba de organización a nivel de objeto. El endpoint de tarea hermano sí restringe su queryset con project__organization establecido en la organización activa del solicitante, lo cual es el límite que esta ruta omite. Los identificadores de anotación son enteros secuenciales, por lo que un usuario autenticado de una organización puede enumerar identificadores para leer, modificar y eliminar anotaciones pertenecientes a otras organizaciones en la misma instancia. El mismo queryset sin alcance aparece en AnnotationConvertAPI en el mismo archivo.

Information

Published : 2026-08-24 18:17

Updated : 2026-10-12 15:10


NVD link : CVE-2026-76073

Mitre link : CVE-2026-76073

CVE.ORG link : CVE-2026-76073


JSON object : View

Products Affected

No product.

CWE
CWE-639

Authorization Bypass Through User-Controlled Key