CVE-2026-33149: 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 ALLOWEDHOSTS = '' by default, which causes Django to accept any value in the HTTP Host header without validation. The application uses request.buildabsoluteuri() 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 Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-33149?
CVE-2026-33149 is classified as a high severity vulnerability due to the potential for host header injection attacks.
How do I fix CVE-2026-33149?
To fix CVE-2026-33149, you should update your Tandoor Recipes application to version 2.5.4 or later, which addresses the vulnerable ALLOWED_HOSTS configuration.
What versions of Tandoor Recipes are affected by CVE-2026-33149?
CVE-2026-33149 affects Tandoor Recipes versions up to and including 2.5.3.
What type of attack does CVE-2026-33149 involve?
CVE-2026-33149 involves host header injection, which can lead to various security issues including web cache poisoning and open redirect attacks.
Is CVE-2026-33149 a remote exploitation vulnerability?
Yes, CVE-2026-33149 can be exploited remotely due to the application accepting arbitrary HTTP Host headers.