Tandoor Recipes before 2.7.4 Path Traversal via Nextcloud Provider get_file
- State
- Published
- Severity
- 5.3 Medium
- Published
- Nov 22, 2026
- Updated
- Nov 24, 2026
- Reserved
- Nov 22, 2026
Description
Tandoor Recipes before 2.7.4 contains a path traversal vulnerability in Nextcloud.get_file that allows authenticated recipe editors to write and delete files by using unsanitized recipe names in temporary paths. Attackers can set a recipe name containing ../ segments via PATCH /api/recipe/<pk>/ and request /api/get_recipe_file/<pk>/ to overwrite and remove .pdf files outside the temporary directory.
| Product | Versions |
|---|---|
| Tandoor Recipes TandoorRecipes | before 2.7.4 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 5.3 Medium | VulnCheck | |
| 3.1 | 5.4 Medium | VulnCheck |
Weaknesses
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
- GitHub Security Advisory (GHSA-q8xp-3229-5p37)Vendor Advisory
- https://github.com/TandoorRecipes/recipes/commit/d9282c0cab5add50c3a952428049d907e228d69aPatch
- Tandoor Recipes 2.7.4 Release NotesRelease Notes
- https://github.com/TandoorRecipes/recipes/blob/2.7.3/cookbook/provider/nextcloud.py#L110-L123Technical Details
- VulnCheck Advisory: Tandoor Recipes before 2.7.4 Path Traversal via Nextcloud Provider get_fileThird-Party Advisory
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.