{"id":"CVE-2026-59966","summary":"Tandoor Recipes: ReDoS (Regular Expression Denial of Service) via User-Controlled Automation Regex Patterns","details":"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.","aliases":["GHSA-f2gw-c2c7-59v7"],"modified":"2026-10-21T02:58:50.341554563Z","published":"2026-10-16T19:18:57.453Z","database_specific":{"cwe_ids":["CWE-1333"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59966.json","cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59966.json"},{"type":"FIX","url":"https://github.com/TandoorRecipes/recipes/commit/adc2732712819d7fe26a9f74f6b0271c1a9d87c3"},{"type":"WEB","url":"https://github.com/TandoorRecipes/recipes/releases/tag/2.6.10"},{"type":"ADVISORY","url":"https://github.com/TandoorRecipes/recipes/security/advisories/GHSA-f2gw-c2c7-59v7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59966"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/tandoorrecipes/recipes","events":[{"introduced":"0"},{"fixed":"dd0ddac9f983d9a004783316ef1b507f2183f4a7"},{"fixed":"adc2732712819d7fe26a9f74f6b0271c1a9d87c3"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"0"},{"fixed":"2.6.10"}]},{"range":[{"fixed":"adc2732712819d7fe26a9f74f6b0271c1a9d87c3"}],"source":"REFERENCES_COMMIT"},{"original_tag":"2.6.10","range":[{"fixed":"dd0ddac9f983d9a004783316ef1b507f2183f4a7"}],"source":"REFERENCES_TAG"}]}}],"versions":["2.6.9","2.6.8","2.6.7","2.6.6","2.6.5","2.6.4","2.6.3","2.6.2","2.6.1","2.6.0","2.5.3","2.5.2","2.5.1","2.5.0","2.4.2","2.4.1","2.4.0","2.3.6","2.3.5","2.3.4","2.3.3","2.3.2","2.3.0","2.2.7","2.0.0-alpha-6","2.0.0-alpha-5","2.0.0-alpha-4","2.0.0-alpha-3","2.0.0-alpha-2","2.0.0-alpha-1","1.5.11","1.2.5","1.2.4","1.1.4","1.1.3","1.0.3","0.17.3","0.17.2","0.17.1","0.16.0","0.15.2","0.15.1","0.15.0","0.13.0","0.12.1","0.12.0","0.11.2","0.11.1","0.11.0","0.10.1","0.10.0","0.9.2","0.9.1","0.9.0","0.7.1","0.7.0","0.6.5","0.6.4","0.6.3","0.6.2","0.6.1","0.6.0","0.5.1","0.5.0","0.4.0","0.3.2","0.3.1","0.3.0","0.2.2","0.2.1","0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-59966.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H"}]}