CVE-2026-35489: Tandoor Recipes — `amount`/`unit` bypass serializer in `food/{id}/shopping/`
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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-35489?
The severity of CVE-2026-35489 is considered to be moderate, requiring immediate attention from affected users.
How do I fix CVE-2026-35489?
To fix CVE-2026-35489, upgrade Tandoor Recipes to version 2.6.4 or later.
What components are affected by CVE-2026-35489?
CVE-2026-35489 affects the API endpoint /api/food/{id}/shopping/ in Tandoor Recipes versions prior to 2.6.4.
What type of vulnerability is CVE-2026-35489?
CVE-2026-35489 is classified as a bypass serializer vulnerability.
Is there a known exploit for CVE-2026-35489?
As of now, there are no known public exploits for CVE-2026-35489, but it is recommended to patch the vulnerability immediately.