Tandoor Recipes: Private recipe file and share-link authorization bypass in recipe utility API endpoints
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
Description
Tandoor Recipes is an application for managing recipes, planning meals, and building shopping lists. Prior to 2.6.10, recipe utility endpoints retrieve same-Space Recipe objects without invoking the private-recipe owner or sharing permission when an authenticated member of a shared Space supplies another member's private recipe identifier to AI import, file, external-link, or share-link endpoints. Request processing uses api/ai-import/, api/get_recipe_file/, api/get_external_file_link/, api/share-link/, CustomRecipePermission. The attack works because the endpoints read private recipe files, send file bytes to the configured AI provider, or create and disclose external links without object-level authorization, and api/share-link/ can create a public link when Space sharing is enabled. This can expose private recipe files and sensitive uploaded content to another same-Space user and to configured external services. This issue is fixed in version 2.6.10.
Text from CVE List
Affected versions 1
- recipesaffected: < 2.6.10CVE List
References 4
- github.com/TandoorRecipes/recipes/commit/82fd4e00f1387a1c466489989f2e94487149f7f4Fixvia CVE List
- github.com/TandoorRecipes/recipes/commit/8b4a4c06902d024609d7376b6c45f5ea4f9bed07Fixvia CVE List
- github.com/TandoorRecipes/recipes/releases/tag/2.6.10Fixvia CVE List
- github.com/TandoorRecipes/recipes/security/advisories/GHSA-cqj3-64qw-4w52Advisoryvia CVE List