CVE-2026-35489CWE-1284CWE-639

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

High · published April 7, 2026

CVSS v3.1
7.3
EPSS
0%
Percentile
24.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.3 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.00323 · 24.1th percentile
Weaknesses
CWE-1284 · Improper Validation of Specified Quantity in Input; CWE-639 · Authorization Bypass Through User-Controlled Key
Published
2026-04-07T14:53Z
EPSS history
Timeline
  • 07 APR 14:53Z
    Tandoor Recipes — `amount`/`unit` bypass serializer in `food/{id}/shopping/`
    cvelistv5