CVE-2026-35489 PUBLISHED

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

Assigner: GitHub_M
Reserved: 02.04.2026 Published: 07.04.2026 Updated: 07.04.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
CVSS Score: 7.3

Product Status

Vendor TandoorRecipes
Product recipes
Versions
  • Version < 2.6.4 is affected

References

Problem Types

  • CWE-639: Authorization Bypass Through User-Controlled Key CWE
  • CWE-1284: Improper Validation of Specified Quantity in Input CWE