{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "2.6.10"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "adc2732712819d7fe26a9f74f6b0271c1a9d87c3"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "2.6.10",
                "range": [
                  {
                    "fixed": "dd0ddac9f983d9a004783316ef1b507f2183f4a7"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "dd0ddac9f983d9a004783316ef1b507f2183f4a7"
            },
            {
              "fixed": "adc2732712819d7fe26a9f74f6b0271c1a9d87c3"
            }
          ],
          "repo": "https://github.com/tandoorrecipes/recipes",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-f2gw-c2c7-59v7"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-1333"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59966.json"
  },
  "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.",
  "id": "CVE-2026-59966",
  "modified": "2026-10-21T02:30:19.314305569Z",
  "published": "2026-10-16T19:18:57.453Z",
  "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"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Tandoor Recipes: ReDoS (Regular Expression Denial of Service) via User-Controlled Automation Regex Patterns"
}