CVE-2026-35489

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:tandoor:recipes:*:*:*:*:*:*:*:*

History

26 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) Tandoor Recipes es una aplicación para gestionar recetas, planificar comidas y crear listas de la compra. Anteriormente a la 2.6.4, el endpoint POST /API/food/{id}/shopping/ lee la cantidad y la unidad directamente de request.data y las pasa sin validación a ShoppingListEntry.objects.create(). Valores de cantidad no válidos (cadenas no numéricas) causan una excepción no manejada y un HTTP 500. Un ID de unidad de un Espacio diferente puede asociarse entre espacios, filtrando referencias de clave externa a través de los límites de los inquilinos. Todos los demás endpoints que crean ShoppingListEntry usan ShoppingListEntrySerializer, que valida y sanea estos campos. Esta vulnerabilidad se corrige en la 2.6.4.

Information

Published : 2026-04-07 16:16

Updated : 2026-10-26 21:10


NVD link : CVE-2026-35489

Mitre link : CVE-2026-35489

CVE.ORG link : CVE-2026-35489


JSON object : View

Products Affected

tandoor

  • recipes
CWE
CWE-639

Authorization Bypass Through User-Controlled Key

CWE-1284

Improper Validation of Specified Quantity in Input