CVE-2026-35488
Tandoor Recipes — CustomIsShared permits DELETE/PUT on RecipeBook by shared (read-only) users
In short
A recipe management app allows users with read-only access to a shared recipe book to delete or modify it, defeating the purpose of read-only sharing. This happens because the permission checker doesn't properly verify what action is being performed.
Technical detail
The CustomIsShared permission class in RecipeBookViewSet and RecipeBookEntryViewSet fails to distinguish between safe (GET, HEAD, OPTIONS) and unsafe (DELETE, PUT, PATCH) HTTP methods in has_object_permission(), allowing any shared user to perform destructive operations on RecipeBook objects regardless of intended read-only semantics.
Summary generated and translated by AI from the official description.
Tandoor Recipes is an application for managing recipes, planning meals, and building shopping lists. Prior to 2.6.4, RecipeBookViewSet and RecipeBookEntryViewSet use CustomIsShared as an alternative permission class, but CustomIsShared.has_object_permission() returns True for all HTTP methods — including DELETE, PUT, and PATCH — without checking request.method in SAFE_METHODS. Any user who is in the shared list of a RecipeBook can delete or overwrite it, even though shared access is semantically read-only. This vulnerability is fixed in 2.6.4.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Affected products
TandoorRecipes · recipesWant to know if your infrastructure is exposed to this?
Talk to TrueHacking →