The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-23838

CVE-2026-23838: Tandoor Recipes Information Disclosure

CVE-2026-23838 is an information disclosure vulnerability in Tandoor Recipes on NixOS that exposes SQLite database files without authentication. This article covers the technical details, affected versions, and mitigation steps.

Published: January 23, 2026

CVE-2026-23838 Overview

CVE-2026-23838 is a Sensitive Data Exposure vulnerability affecting Tandoor Recipes when installed via the Nix package manager. The vulnerability stems from an insecure default configuration in the NixOS module that causes the SQLite database file to be placed in the same directory as media files, making it accessible without authentication over HTTP.

When using the default configuration of Tandoor Recipes with SQLite and the default MEDIA_ROOT setting, the full database file (db.sqlite3) becomes externally accessible, potentially exposing it to the Internet. This occurs because the NixOS module configures both the working directory and MEDIA_ROOT to /var/lib/tandoor-recipes, causing the database to be served like any other media file.

Critical Impact

The entire SQLite database containing recipe data, user credentials, and application configuration can be downloaded by unauthenticated attackers over the network, leading to complete data exposure.

Affected Products

  • Tandoor Recipes (NixOS package) versions 23.05 through prior to 26.05
  • NixOS configurations with system.stateVersion < 26.05
  • Deployments using GUNICORN_MEDIA=1 or nginx serving media files

Discovery Timeline

  • 2026-01-19 - CVE CVE-2026-23838 published to NVD
  • 2026-01-19 - Last updated in NVD database

Technical Details for CVE-2026-23838

Vulnerability Analysis

This vulnerability is classified under CWE-538 (Insertion of Sensitive Information into Externally-Accessible File or Directory). The core issue is a configuration flaw in how the NixOS module sets up Tandoor Recipes, resulting in the SQLite database being inadvertently exposed through the web server.

The exploitation scenario requires no authentication and can be performed remotely over the network. An attacker simply needs to request the db.sqlite3 file through HTTP, and if the vulnerable configuration is in place, the entire database will be served as if it were a regular media file such as an image or document.

The exposed database potentially contains sensitive information including user account details, hashed passwords, recipe data, API tokens, and any other application data stored by Tandoor Recipes.

Root Cause

The NixOS module for Tandoor Recipes configures the working directory to /var/lib/tandoor-recipes and also sets MEDIA_ROOT to the same location. When Tandoor Recipes initializes, it creates its db.sqlite3 database file in the working directory. Because MEDIA_ROOT points to the same directory, the web server (either Gunicorn with GUNICORN_MEDIA=1 or an external server like nginx configured to serve media) treats the database file as accessible static content.

This design oversight means any file in the working directory, including the sensitive database, becomes publicly accessible through HTTP requests without any authentication checks.

Attack Vector

The attack vector is network-based and requires no user interaction or prior authentication. An attacker can exploit this vulnerability by:

  1. Identifying a Tandoor Recipes instance running on NixOS with the vulnerable default configuration
  2. Sending an HTTP request to the media endpoint requesting the db.sqlite3 file
  3. Downloading the complete SQLite database containing all application data

The vulnerability is particularly severe because the database file includes all stored information: user credentials (including password hashes), recipe content, configuration settings, and potentially API tokens or session data.

Detection Methods for CVE-2026-23838

Indicators of Compromise

  • Unusual HTTP requests targeting /media/db.sqlite3 or similar paths attempting to access the database file
  • Web server access logs showing successful downloads of .sqlite3 files from the media directory
  • Large data transfers from the media endpoint that match the size of the SQLite database
  • External reconnaissance activity probing for common database filenames in web-accessible directories

Detection Strategies

  • Monitor web server access logs for requests containing db.sqlite3 or *.sqlite* patterns in the URL path
  • Implement file integrity monitoring on the /var/lib/tandoor-recipes/ directory to detect unauthorized access
  • Configure web application firewalls to alert on requests attempting to access database file extensions
  • Review nginx or Gunicorn configuration to verify database files are not being served

Monitoring Recommendations

  • Set up alerts for any HTTP 200 responses to requests for SQLite database files
  • Monitor outbound data transfer volumes from the Tandoor Recipes media endpoint for anomalies
  • Implement periodic configuration audits to ensure MEDIA_ROOT is properly isolated from the working directory
  • Review authentication logs for suspicious activity following potential database exposure

How to Mitigate CVE-2026-23838

Immediate Actions Required

  • Verify your NixOS system.stateVersion and Tandoor Recipes configuration to determine exposure
  • Check if MEDIA_ROOT is set to the same directory as the application working directory
  • Audit web server logs for any historical access to db.sqlite3 or similar database files
  • If exposure is confirmed, rotate all user credentials and API tokens stored in the database

Patch Information

NixOS 26.05 addresses this vulnerability by changing the default value of MEDIA_ROOT to a subdirectory of the data directory, preventing the database from being served as media content. This fix only applies automatically to configurations with system.stateVersion >= 26.05.

NixOS 25.11 has received a backport of this patch, but it requires manual user intervention to take effect for existing configurations. Administrators should review the GitHub Pull Request #427845 and GitHub Pull Request #481140 for implementation details.

For more information, see the GitHub Security Advisory GHSA-g8w3-p77x-mmxh and the original GitHub Issue #338339.

Workarounds

  • Recommended: Move MEDIA_ROOT to a subdirectory (e.g., /var/lib/tandoor-recipes/media/) to isolate media files from the database
  • Alternative: Switch from SQLite to PostgreSQL, which stores data outside the web-accessible directory
  • Alternative: Configure web server rules to explicitly disallow access to db.sqlite3 and other database files
  • Add deny rules in nginx configuration to block requests for .sqlite3 file extensions
bash
# Configuration example - nginx deny rule for SQLite files
# Add to your nginx server block for Tandoor Recipes

location ~ \.sqlite3$ {
    deny all;
    return 403;
}

# Or configure MEDIA_ROOT to use a subdirectory in your NixOS configuration
# services.tandoor-recipes.settings.MEDIA_ROOT = "/var/lib/tandoor-recipes/media";

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechTandoor Recipes

  • SeverityHIGH

  • CVSS Score8.7

  • EPSS Probability0.11%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-538
  • Technical References
  • GitHub Issue #338339

  • GitHub Pull Request #427845

  • GitHub Pull Request #481140

  • GitHub Security Advisory GHSA-g8w3-p77x-mmxh
  • Related CVEs
  • CVE-2026-35489: Tandoor Recipes Information Disclosure Flaw

  • CVE-2026-33153: Tandoor Recipes Information Disclosure

  • CVE-2026-29055: Tandoor Recipes Information Disclosure

  • CVE-2026-35488: Tandoor Recipes Auth Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English