# CVE-2026-59966: Tandoor Recipes: ReDoS (Regular Expression Denial of Service) via User-Controlled Automation Regex Patterns

- Severity: Medium 5.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-16T19:18:57.453Z
- Modified: 2026-10-19T20:52:47.340Z
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- TandoorRecipes recipes: < 2.6.10

## References

- <https://github.com/TandoorRecipes/recipes/security/advisories/GHSA-f2gw-c2c7-59v7> (exploit)
- <https://github.com/TandoorRecipes/recipes/commit/adc2732712819d7fe26a9f74f6b0271c1a9d87c3>
- <https://github.com/TandoorRecipes/recipes/releases/tag/2.6.10>

## Sources

- CVE List: [CVE-2026-59966](https://www.cve.org/CVERecord?id=CVE-2026-59966), CVE Terms of Use, modified 2026-10-16
- NVD: [CVE-2026-59966](https://nvd.nist.gov/vuln/detail/CVE-2026-59966), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-59966 · Whole record: https://cve.day/CVE-2026-59966.json · Rebuilt by cve.day 2026-11-25T22:59:45.111Z
