{"id":"CVE-2026-59966","revision":"4f0a4d3475d64373aed9ab7834b52192","records":[{"revision":"4f0a4d3475d64373aed9ab7834b52192","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-59966","aliases":[],"title":"Tandoor Recipes: ReDoS (Regular Expression Denial of Service) via User-Controlled Automation Regex Patterns","description":"Tandoor Recipes is an application for managing recipes, planning meals, and building shopping lists. Prior to 2.6.10, executes user-controlled Automation regular-expression patterns with Python re.sub() without complexity validation or an execution timeout when an authenticated user stores a catastrophic-backtracking regex and any user in the same Space imports a matching recipe. Request processing uses Automation.param_2, apply_regex_replace_automation, sub, api/recipe-from-source/. The attack works because the shared-Space automation engine evaluates the malicious pattern during recipe import and can occupy a Gunicorn worker until its request timeout. This can exhaust application worker slots and make the service unavailable to users. This issue is fixed in version 2.6.10.","state":0,"publishedAt":"2026-10-16T19:18:57.453+00:00","modifiedAt":"2026-10-16T19:40:13.402+00:00","affected":[{"ecosystem":"Vendor product","name":"recipes","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"TandoorRecipes\",\n                    \"product\": \"recipes\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 2.6.10\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","score":5.7,"severity":"MEDIUM"}],"references":["https://github.com/TandoorRecipes/recipes/security/advisories/GHSA-f2gw-c2c7-59v7","https://github.com/TandoorRecipes/recipes/commit/adc2732712819d7fe26a9f74f6b0271c1a9d87c3","https://github.com/TandoorRecipes/recipes/releases/tag/2.6.10"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-59966","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-59966","identifiers":["CVE-2026-59966"]},"retained":false,"historicalAffected":[]}],"coverage":[]}