{"id":"CVE-2026-35489","state":"PUBLISHED","title":"Tandoor 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.","publishedAt":"2026-04-07T14:53:18.333Z","updatedAt":"2026-04-07T15:58:45.810Z","severity":{"score":7.3,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["TandoorRecipes recipes"],"affected":[{"vendor":"TandoorRecipes","product":"recipes","versions":[{"version":"< 2.6.4","status":"affected"}]}],"references":["https://github.com/TandoorRecipes/recipes/security/advisories/GHSA-8w8h-3pv2-3554","https://github.com/TandoorRecipes/recipes/releases/tag/2.6.4"],"weaknesses":["CWE-639","CWE-1284"],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/35xxx/CVE-2026-35489.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-35489","state":"PUBLISHED","datePublished":"2026-04-07T14:53:18.333Z","dateUpdated":"2026-04-07T15:58:45.810Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-04-02T20:49:44.454Z"},"containers":{"cna":{"title":"Tandoor Recipes — `amount`/`unit` bypass serializer in `food/{id}/shopping/`","descriptions":[{"lang":"en","value":"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":[{"vendor":"TandoorRecipes","product":"recipes","versions":[{"version":"< 2.6.4","status":"affected"}]}],"references":[{"url":"https://github.com/TandoorRecipes/recipes/security/advisories/GHSA-8w8h-3pv2-3554","name":"https://github.com/TandoorRecipes/recipes/security/advisories/GHSA-8w8h-3pv2-3554","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/TandoorRecipes/recipes/releases/tag/2.6.4","name":"https://github.com/TandoorRecipes/recipes/releases/tag/2.6.4","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":7.3,"baseSeverity":"HIGH","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-639","lang":"en","description":"CWE-639: Authorization Bypass Through User-Controlled Key","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-1284","lang":"en","description":"CWE-1284: Improper Validation of Specified Quantity in Input","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-04-07T14:53:18.333Z"},"source":{"advisory":"GHSA-8w8h-3pv2-3554","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/TandoorRecipes/recipes/security/advisories/GHSA-8w8h-3pv2-3554","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-04-07T15:57:25.623338Z","id":"CVE-2026-35489","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-04-07T15:58:45.810Z"}}]}}}