{"id":"CVE-2026-35489","summary":"Tandoor Recipes — `amount`/`unit` bypass serializer in `food/{id}/shopping/`","details":"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.","aliases":["GHSA-8w8h-3pv2-3554"],"modified":"2026-07-15T01:49:06.634111300Z","published":"2026-04-07T14:53:18.333Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-1284","CWE-639"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/35xxx/CVE-2026-35489.json"},"references":[{"type":"WEB","url":"https://github.com/TandoorRecipes/recipes/releases/tag/2.6.4"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/35xxx/CVE-2026-35489.json"},{"type":"ADVISORY","url":"https://github.com/TandoorRecipes/recipes/security/advisories/GHSA-8w8h-3pv2-3554"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35489"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/tandoorrecipes/recipes","events":[{"introduced":"0"},{"fixed":"0320f99b7e6c72f2325a5132e72f791b0e911b6d"}],"database_specific":{"cpe":"cpe:2.3:a:tandoor:recipes:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"2.6.4"}],"source":["AFFECTED_FIELD","CPE_RANGE","REFERENCES"]}}],"versions":["2.3.5","2.3.0","2.2.7","2.0.0-alpha-6","2.0.0-alpha-5","2.0.0-alpha-4","2.0.0-alpha-3","2.0.0-alpha-2","2.0.0-alpha-1","1.5.11","1.2.5","1.2.4","1.1.4","1.1.3","1.0.3","0.17.3","0.17.2","0.17.1","0.16.0","0.15.2","0.15.1","0.15.0","0.13.0","0.12.1","0.12.0","0.11.2","0.11.1","0.11.0","0.10.1","0.10.0","0.9.2","0.9.1","0.9.0","0.7.1","0.7.0","0.6.5","0.6.4","0.6.3","0.6.2","0.6.1","0.6.0","0.5.1","0.5.0","0.4.0","0.3.2","0.3.1","0.3.0","0.2.2","0.2.1","0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-35489.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"}]}