CVE-2026-35489

Tandoor Recipes — `amount`/`unit` bypass serializer in `food/{id}/shopping/`

State
Published
Severity
7.3 High
Published
Apr 7, 2026
Updated
Apr 7, 2026
Reserved
Apr 2, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:LGitHub_M

Weaknesses

  • CWE-639 Authorization Bypass Through User-Controlled Key
  • CWE-1284 Improper Validation of Specified Quantity in Input

Affected Products

ProductVersions
recipesTandoorRecipes
  • < 2.6.4Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.