TandoorRecipes Recipes
Tandoor Recipes: Blind SSRF via AI provider URL (api_base)
Tandoor Recipes is an application for managing recipes, planning meals, and building shopping lists. Prior to 2.6.10, passes an administrator-controlled AI provider URL directly to LiteLLM without applying the server's outbound-request SSRF checks when an authenticated user creates a Space, configures an AI provider with a URL targeting an internal address, and invokes an AI action. In cookbook/views/api.py, the affected AI actions call completion through TARGET/api/ai-import/ and api/ai-step-sort/ while bypassing safe_request. The attack works because the server connects to the supplied provider URL from each AI action and exposes connection success, refusal, or timeout as a blind network-reachability oracle. This can reach internal services, other hosts on the server network, and cloud metadata endpoints and map reachable internal hosts and ports. This issue is fixed in version 2.6.10.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2.6.10
Fixed in 2.6.10
Mitigation
Upgrade recipes to 2.6.10 or later.
References
- Vendor advisory github.com/TandoorRecipes/recipes/security/adv…
- Patch github.com/TandoorRecipes/recipes/commit/79e78…
- Release notes github.com/TandoorRecipes/recipes/releases/tag…
Timeline
Days relative to CVE publicationFirst public PoC 3 h after publication; not in CISA KEV. First PoC: asvorg/CVE-2026-59970-poc (created 16 Oct 2026, found by us: 14 Nov 2026).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| asvorg/CVE-2026-59970-poc | 16 Oct 2026 +3 h | 14 Nov 2026 | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoPOST /api/ai-import/
- Key headers
Referer: {var}/Referer: {var}X-Csrftoken: {var}- Body markers
name="ai_provider_id"name="text""login""password"inmultipart/form-data- Seen in
- 1 repo: asvorg/CVE-2026-59970-poc
- Evidence
- asvorg/CVE-2026-59970-poc/poc.py:89 asvorg/CVE-2026-59970-poc/poc.py:130 asvorg/CVE-2026-59970-poc/poc.py:161
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/api/ai-import/(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-59970 TandoorRecipes recipes exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/ai-import/"; http.header_names; content:"Referer"; nocase; http.header_names; content:"Referer"; nocase; http.header_names; content:"X-Csrftoken"; nocase; http.request_body; content:"name=|22|ai_provider_id|22|"; http.request_body; content:"name=|22|text|22|"; http.request_body; content:"|22|login|22|"; http.request_body; content:"|22|password|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-59970; classtype:web-application-attack; sid:9159414; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: TandoorRecipes recipes exploit attempt (CVE-2026-59970)
id: gg-pocmon-cve-2026-59970-9159414
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-59970. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-59970
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/api/ai-import/'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.59970