CVE-2026-33149: CWE-644: Improper Neutralization of HTTP Headers for Scripting Syntax in TandoorRecipes recipes
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.
AI Analysis
Technical Summary
Tandoor Recipes (<= 2.5.3) improperly neutralizes HTTP headers by accepting any Host header value due to ALLOWED_HOSTS='*'. The application uses request.build_absolute_uri() to generate absolute URLs in contexts such as invite emails, API pagination, and OpenAPI schema generation. An attacker controlling the Host header can poison invite links sent to users, redirecting them to attacker-controlled domains and capturing invite tokens. This vulnerability is classified as CWE-644 (Improper Neutralization of HTTP Headers for Scripting Syntax) and has a CVSS 3.1 score of 8.1, indicating high severity.
Potential Impact
An attacker can manipulate absolute URLs generated by the application, notably invite links, to redirect victims to attacker-controlled servers. This leads to the exposure of invite tokens to the attacker, who can then use these tokens to gain unauthorized access to the application with elevated privileges. The vulnerability impacts confidentiality and integrity but does not affect availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, administrators should avoid using versions up to 2.5.3 in production or implement strict validation of the Host header and configure ALLOWED_HOSTS to a specific whitelist of trusted domains rather than '*'.
CVE-2026-33149: CWE-644: Improper Neutralization of HTTP Headers for Scripting Syntax in TandoorRecipes recipes
Description
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Tandoor Recipes (<= 2.5.3) improperly neutralizes HTTP headers by accepting any Host header value due to ALLOWED_HOSTS='*'. The application uses request.build_absolute_uri() to generate absolute URLs in contexts such as invite emails, API pagination, and OpenAPI schema generation. An attacker controlling the Host header can poison invite links sent to users, redirecting them to attacker-controlled domains and capturing invite tokens. This vulnerability is classified as CWE-644 (Improper Neutralization of HTTP Headers for Scripting Syntax) and has a CVSS 3.1 score of 8.1, indicating high severity.
Potential Impact
An attacker can manipulate absolute URLs generated by the application, notably invite links, to redirect victims to attacker-controlled servers. This leads to the exposure of invite tokens to the attacker, who can then use these tokens to gain unauthorized access to the application with elevated privileges. The vulnerability impacts confidentiality and integrity but does not affect availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, administrators should avoid using versions up to 2.5.3 in production or implement strict validation of the Host header and configure ALLOWED_HOSTS to a specific whitelist of trusted domains rather than '*'.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-03-17T21:17:08.885Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 69c589313c064ed76fb167ca
Added to database: 3/26/2026, 7:29:53 PM
Last enriched: 4/3/2026, 1:06:59 PM
Last updated: 5/10/2026, 4:02:03 AM
Views: 49
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.