LiveActive security incident?Get immediate response
CVE Record

CVE-2026-23838: Tandoor Recipes module allows SQLite database to be externally accessible with the default settings

Tandoor Recipes is a recipe manager than can be installed with the Nix package manager. Starting in version 23.05 and prior to version 26.05, when using the default configuration of Tandoor Recipes, specifically using SQLite and default `MEDIA_ROOT`, the full database file may be externally accessible, potentially on the Internet. The root cause is that the NixOS module configures the working directory of Tandoor Recipes, as well as the value of `MEDIA_ROOT`, to be `/var/lib/tandoor-recipes`. This causes Tandoor Recipes to create its `db.sqlite3` database file in the same directory as `MEDIA_ROOT` causing it to be accessible without authentication through HTTP like any other media file. This is the case when using `GUNICORN_MEDIA=1` or when using a web server like nginx to serve media files. NixOS 26.05 changes the default value of `MEDIA_ROOT` to a sub folder of the data directory. This only applies to configurations with `system.stateVersion` >= 26.05. For older configurations, one of the workarounds should be applied instead. NixOS 25.11 has received a backport of this patch, though it doesn't fix this vulnerability without user intervention. A recommended workaround is to move `MEDIA_ROOT` into a subdirectory. Non-recommended workarounds include switching to PostgreSQL or disallowing access to `db.sqlite3`.

HighCVSS 8.7Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2026-23838 can expose the full SQLite database for Tandoor Recipes on NixOS when default settings place the database inside the web-served media directory. An unauthenticated Internet user may be able to download sensitive application data if media files are served publicly. This is high urgency for exposed Tandoor Recipes deployments using SQLite.

Executive priority

Treat as high priority for any Internet-facing Tandoor Recipes instance on NixOS. The issue can expose the entire application database without authentication. Prioritize inventory, configuration review, and remediation of public deployments before routine maintenance windows.

Technical view

NixOS nixpkgs versions 23.05 through before 26.05 configure Tandoor Recipes with working directory and MEDIA_ROOT as /var/lib/tandoor-recipes. With SQLite, db.sqlite3 is created there and may be served as media via GUNICORN_MEDIA=1 or a web server such as nginx. CVSS v4.0 is 8.7, CWE-538: insertion of sensitive information into externally accessible file or directory.

Likely exposure

NixOS systems running the Tandoor Recipes module, using SQLite, default MEDIA_ROOT, and serving media files over HTTP are the primary exposure. Internet-facing deployments are highest risk. PostgreSQL deployments or configurations that already isolate MEDIA_ROOT may not be affected, but should still be reviewed against vendor guidance.

Exploitation context

The sources describe unauthenticated network exposure of the database file under certain default configurations. No provided source states active exploitation, and the CVE is not listed as KEV in the supplied bundle. The main risk is data disclosure rather than code execution or service disruption.

Researcher notes

Evidence is strongest for NixOS nixpkgs module configurations from 23.05 to before 26.05 using SQLite and default MEDIA_ROOT. The advisory states NixOS 26.05 changes the default for newer stateVersion values, while older stateVersion deployments require workarounds. Avoid assuming impact outside the documented NixOS module path.

Mitigation direction

  • Review the NixOS advisory and module guidance for your deployed version.
  • Upgrade where applicable, noting 26.05 changes defaults only for system.stateVersion >= 26.05.
  • For older configurations, move MEDIA_ROOT into a subdirectory as recommended.
  • Do not rely on the 25.11 backport alone without user intervention.
  • Confirm db.sqlite3 is not served by Gunicorn, nginx, or other media handlers.

Validation and detection

  • Identify NixOS hosts running the Tandoor Recipes module.
  • Check whether the deployment uses SQLite rather than PostgreSQL.
  • Verify MEDIA_ROOT is not the same directory as the application data directory.
  • Review web server and GUNICORN_MEDIA settings for media serving behavior.
  • Confirm the SQLite database file is not externally reachable without authentication.
Prepared
Confidence
high
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-538: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Database behavior lookup

The CVE wording references database injection or access, so collection and exfiltration review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-23838 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
8.7 (4.0)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
5Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
8.7CVSS 4.0HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N——Primary CVE score

Vulnerability scoring details

Base CVSS 4.0 score

8.7High
CVSS 4.0 vector shape for CVE-2026-23838Attack VectorAttack ComplexityAttack RequirementsPrivileges RequiredUser InteractionVS ConfidentialityVS IntegrityVS AvailabilitySS ConfidentialitySS IntegritySS Availability

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Attack Requirements
NonePresent
Privileges Required
NoneLowHigh
User Interaction
NonePassiveActive
VS Confidentiality
HighLowNone
VS Integrity
HighLowNone
VS Availability
HighLowNone
SS Confidentiality
HighLowNone
SS Integrity
HighLowNone
SS Availability
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
NixOSnixpkgs>= 23.05, < 26.05Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-538 · source CWE mapping

Insertion of Sensitive Information into Externally-Accessible File or Directory

Insertion of Sensitive Information into Externally-Accessible File or Directory represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.