TandoorRecipes Recipes
Tandoor Recipes Vulnerable to Host Header Injection
Tandoor Recipes is an application for managing recipes, planning meals, and building shopping lists. Versions up to and including 2.5.3 set ALLOWED_HOSTS = '*' by default, which causes Django to accept any value in the HTTP Host header without validation. The application uses request.build_absolute_uri() to generate absolute URLs in multiple contexts, including invite link emails, API pagination, and OpenAPI schema generation. An attacker who can send requests to the application with a crafted Host header can manipulate all server-generated absolute URLs. The most critical impact is invite link poisoning: when an admin creates an invite and the application sends the invite email, the link points to the attacker's server instead of the real application. When the victim clicks the link, the invite token is sent to the attacker, who can then use it at the real application. As of time of publication, it is unknown if a patched version is available.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- <= 2.5.3
Mitigation
The record names no fix. Check the vendor advisory below.
References
- Vendor advisory github.com/TandoorRecipes/recipes/security/adv…
Timeline
Days relative to CVE publicationFirst public PoC 7.7 days after publication; not in CISA KEV. First PoC: FilipeGaudard/CVE-2026-33149-PoC (created 3 Apr 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| FilipeGaudard/CVE-2026-33149-PoC | 3 Apr 2026 +7.7 d | 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 repoGET /api/recipe/
- Query
page_size=1- Key headers
Accept: application/jsonCookie: sessionid=SESSION; csrftoken=CSRF- Ports
- 8085
- Seen in
- 1 repo: FilipeGaudard/CVE-2026-33149-PoC
- Evidence
- FilipeGaudard/CVE-2026-33149-PoC/README.md:173
GET /api/schema/
- Key headers
Cookie: sessionid=SESSION; csrftoken=CSRF- Ports
- 8085
- Seen in
- 1 repo: FilipeGaudard/CVE-2026-33149-PoC
- Evidence
- FilipeGaudard/CVE-2026-33149-PoC/README.md:182
GET /api/user/
- Ports
- 8085
- Seen in
- 1 repo: FilipeGaudard/CVE-2026-33149-PoC
- Evidence
- FilipeGaudard/CVE-2026-33149-PoC/README.md:164
POST /api/invite-link/
- Key headers
Cookie: sessionid=SESSION; csrftoken=CSRFX-Csrftoken: CSRF- Body markers
"email":"victim@company.com""group""id""valid_until":"2027-01-01"inapplication/json- Ports
- 8085
- Seen in
- 1 repo: FilipeGaudard/CVE-2026-33149-PoC
- Evidence
- FilipeGaudard/CVE-2026-33149-PoC/README.md:190
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/api/recipe/\?(?:.*&)?page_size=1
(?i)^/api/schema/(?:[?#].*)?$
(?i)^/api/user/(?:[?#].*)?$
(?i)^/api/invite-link/(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8085] (msg:"GG PoC-Monitor CVE-2026-33149 TandoorRecipes recipes exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/recipe/"; http.uri; content:"page_size=1"; http.header; content:"Accept: application/json"; nocase; http.header; content:"Cookie: sessionid=SESSION|3b| csrftoken=CSRF"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-33149; classtype:web-application-attack; sid:9025742; rev:1;)
alert http any any -> $HOME_NET [8085] (msg:"GG PoC-Monitor CVE-2026-33149 TandoorRecipes recipes exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/schema/"; http.header; content:"Cookie: sessionid=SESSION|3b| csrftoken=CSRF"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-33149; classtype:web-application-attack; sid:9397801; rev:1;)
alert http any any -> $HOME_NET [8085] (msg:"GG PoC-Monitor CVE-2026-33149 TandoorRecipes recipes exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/user/"; reference:url,poc.griffinguard.io/cve/CVE-2026-33149; classtype:web-application-attack; sid:9364645; rev:1;)
alert http any any -> $HOME_NET [8085] (msg:"GG PoC-Monitor CVE-2026-33149 TandoorRecipes recipes exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/invite-link/"; http.header; content:"Cookie: sessionid=SESSION|3b| csrftoken=CSRF"; nocase; http.header; content:"X-Csrftoken: CSRF"; nocase; http.request_body; content:"|22|email|22|:|22|victim@company.com|22|"; http.request_body; content:"|22|group|22|"; http.request_body; content:"|22|id|22|"; http.request_body; content:"|22|valid_until|22|:|22|2027-01-01|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-33149; classtype:web-application-attack; sid:9745262; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: TandoorRecipes recipes exploit attempt (CVE-2026-33149)
id: gg-pocmon-cve-2026-33149-9025742
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-33149. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-33149
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/api/recipe/'
cs-uri-query|contains|all:
- 'page_size=1'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.33149
title: TandoorRecipes recipes exploit attempt (CVE-2026-33149)
id: gg-pocmon-cve-2026-33149-9397801
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-33149. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-33149
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/api/schema/'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.33149
title: TandoorRecipes recipes exploit attempt (CVE-2026-33149)
id: gg-pocmon-cve-2026-33149-9364645
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-33149. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-33149
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/api/user/'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.33149
title: TandoorRecipes recipes exploit attempt (CVE-2026-33149)
id: gg-pocmon-cve-2026-33149-9745262
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-33149. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-33149
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/api/invite-link/'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.33149