VULNERABILITY INTELLIGENCE
CVE-2026-35489
CVSS score7.3 HIGH
EPSS probability0.22%
CISA KEVNot currently listed
Published2026-04-07
Last modified2026-10-26
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
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.
Weakness classification
- CWE-639: Authorization Bypass Through User-Controlled Key
- CWE-1284: Improper Validation of Specified Quantity in Input
Primary references
- security-advisories@github.com — Product, Release Notes
- security-advisories@github.com — Exploit, Mitigation, Vendor Advisory
- 134c704f-9b21-4f2e-91b3-4a467353bcc0 — Exploit, Mitigation, Vendor Advisory