CVE-2026-35489Tandoor Recipes — `amount`/`unit` bypass serializer in `food/{id}/shopping/`
Description
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.
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| tandoor | recipes | < 2.6.4 | |
| TandoorRecipes | recipes | < 2.6.4 |
References and patches
- https://github.com/TandoorRecipes/recipes/security/advisories/GHSA-8w8h-3pv2-3554 ExploitMitigationVendor Advisory
- https://github.com/TandoorRecipes/recipes/releases/tag/2.6.4 ProductRelease Notes
CPE matches (NVD) (1)
cpe:2.3:a:tandoor:recipes:*:*:*:*:*:*:*:*< 2.6.4