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.
Affected products
tandoor: recipes
References3
- github.com/TandoorRecipes/recipes/security/advisories/GHSA-8w8h… ExploitMitigationVendor Advisory
- github.com/TandoorRecipes/recipes/security/advisories/GHSA-8w8h… ExploitMitigationVendor Advisory
- github.com/TandoorRecipes/recipes/releases/tag/2.6.4 ProductRelease Notes
Metrics
- CVSS 3.1
-
7.3
HIGH
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L - EPSS — exploit probability
- 0% percentile: 14 · as of 12 November 2026
- CWE
- CWE-639CWE-1284
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.