{"id":"CVE-2026-35489","aliases":["CVE-2026-35489"],"related":[],"kind":"vulnerability","state":"published","title":"Tandoor Recipes — `amount`/`unit` bypass serializer in `food/{id}/shopping/`","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-04-07T14:53:18.333Z","modified":"2026-10-26T21:10:00.170Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"rating":"HIGH"}],"cwes":["CWE-639","CWE-1284"],"affected":[{"ranges":[{"version":"< 2.6.4","status":"affected"}],"vendor":"TandoorRecipes","product":"recipes","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"2.6.4"}],"vendor":"tandoor","product":"recipes","cpe":"cpe:2.3:a:tandoor:recipes:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/TandoorRecipes/recipes/security/advisories/GHSA-8w8h-3pv2-3554","tags":["exploit","mitigation","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/TandoorRecipes/recipes/releases/tag/2.6.4","tags":["product","release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-04-07T15:57:25.623Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-35489","url":"https://www.cve.org/CVERecord?id=CVE-2026-35489","licence":"CVE Terms of Use","modified":"2026-04-07T15:58:45.810Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-35489","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35489","licence":"Public domain","modified":"2026-10-26T21:10:00.170Z"}],"updatedAt":"2026-11-25T22:59:18.119Z","epss":{"score":0.00237,"percentile":0.15837,"date":"2026-12-01T12:00:22.000Z"}}