Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-33153: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in TandoorRecipes recipes

0
High
VulnerabilityCVE-2026-33153cvecve-2026-33153cwe-89
Published: Thu Mar 26 2026 (03/26/2026, 19:06:16 UTC)
Source: CVE Database V5
Vendor/Project: TandoorRecipes
Product: recipes

Description

Tandoor Recipes is an application for managing recipes, planning meals, and building shopping lists. In versions prior to 2.6.0, the Recipe API endpoint exposes a hidden `?debug=true` query parameter that returns the complete raw SQL query being executed, including all table names, column names, JOIN relationships, WHERE conditions (revealing access control logic), and multi-tenant space IDs. This parameter works even when Django's `DEBUG=False` (production mode) and is accessible to any authenticated user regardless of their privilege level. This allows a low-privilege attacker to map the entire database schema and reverse-engineer the authorization model. Version 2.6.0 patches the issue.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/26/2026, 19:45:00 UTC

Technical Analysis

CVE-2026-33153 affects Tandoor Recipes, an application for recipe management, meal planning, and shopping list creation. In versions before 2.6.0, the Recipe API endpoint includes a hidden query parameter, ?debug=true, which when appended to requests, returns the complete raw SQL query executed by the backend. This output includes detailed information such as table names, column names, JOIN relationships, WHERE clauses revealing access control logic, and multi-tenant space identifiers. Critically, this debug parameter is accessible to any authenticated user, regardless of their privilege level, and remains active even when Django's DEBUG setting is disabled (production mode). This exposure allows attackers with minimal privileges to gain deep insight into the database schema and authorization mechanisms, facilitating further attacks such as SQL injection or privilege escalation. The vulnerability is classified under CWE-89 (Improper Neutralization of Special Elements used in an SQL Command) and has a CVSS 4.0 base score of 7.7, indicating high severity. No known exploits are reported in the wild yet. The issue is resolved in Tandoor Recipes version 2.6.0, which removes or restricts this debug functionality.

Potential Impact

The vulnerability enables attackers with only authenticated access to extract sensitive internal database structure and authorization logic, significantly lowering the barrier for further exploitation. By revealing raw SQL queries, attackers can identify injection points, understand multi-tenant data segregation, and potentially craft targeted SQL injection attacks to exfiltrate or manipulate data. This compromises confidentiality and integrity of the application data and may lead to unauthorized data access or modification. The exposure of access control logic also risks privilege escalation attacks. Organizations relying on Tandoor Recipes for managing sensitive recipe data or user information face risks of data breaches, loss of customer trust, and potential regulatory non-compliance. The vulnerability's ease of exploitation without requiring elevated privileges or user interaction increases its threat level, especially in environments with many authenticated users or weak authentication controls.

Mitigation Recommendations

The primary mitigation is to upgrade Tandoor Recipes to version 2.6.0 or later, where the ?debug=true parameter is removed or properly secured. Until upgrade, organizations should implement strict access controls on the Recipe API endpoint, limiting access only to highly trusted users or internal networks. Employ web application firewalls (WAFs) to detect and block requests containing the ?debug=true parameter. Review and harden authentication mechanisms to minimize unauthorized authenticated access. Conduct thorough code audits to ensure no other debug or diagnostic endpoints expose sensitive information. Monitor logs for unusual API requests that include the debug parameter. Additionally, implement database-level security controls such as least privilege for application database users and query parameterization to reduce SQL injection risks. Regularly review and update security policies around application debugging features in production environments.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-03-17T21:17:08.886Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69c589313c064ed76fb167d1

Added to database: 3/26/2026, 7:29:53 PM

Last enriched: 3/26/2026, 7:45:00 PM

Last updated: 3/26/2026, 8:39:23 PM

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses