← volver
CVE-2026-35489

Tandoor Recipes — `amount`/`unit` bypass serializer in `food/{id}/shopping/`

CVSS 7.3 HIGHEPSS 0.2%CWE-1284CWE-639
En resumen

Una aplicación de gestión de recetas no valida datos ingresados por el usuario en un endpoint de lista de compras, permitiendo que atacantes bloqueen el servidor con datos inválidos o asocien artículos con unidades de otros usuarios, exponiendo información privada.

Detalle técnico

El endpoint POST /api/food/{id}/shopping/ ignora la validación del ShoppingListEntrySerializer leyendo amount y unit directamente de request.data sin sanitización, permitiendo inyección de cantidades no numéricas (CWE-1284) y asociación de unidades entre tenants (CWE-639). Un atacante autenticado puede provocar errores HTTP 500 o filtrar referencias de clave foránea entre diferentes Spaces.

Resumen generado y traducido por IA a partir de la descripción oficial.
Tandoor Recipes is an application for managing recipes, planning meals, and building shopping lists. Prior to 2.6.4, the POST /api/food/{id}/shopping/ endpoint reads amount and unit directly from request.data and passes them without validation to ShoppingListEntry.objects.create(). Invalid amount values (non-numeric strings) cause an unhandled exception and HTTP 500. A unit ID from a different Space can be associated cross-space, leaking foreign-key references across tenant boundaries. All other endpoints creating ShoppingListEntry use ShoppingListEntrySerializer, which validates and sanitizes these fields. This vulnerability is fixed in 2.6.4.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Productos afectados
TandoorRecipes · recipes

¿Quieres saber si tu infraestructura está expuesta a esto?

Hablar con TrueHacking →