PostgreSQL
CVE-2026-23838
Lifecycle Timeline
2DescriptionCVE.org
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.
AnalysisAI
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....
Technical ContextAI
This vulnerability (CWE-538: Insertion of Sensitive Information into Externally-Accessible File) affects Tandoor Recipes is a recipe manager than can be installed with the Nix package manager. Starting in version 23.05 and. 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. Th
Affected ProductsAI
Product: Tandoor Recipes is a recipe manager than can be installed with the Nix package manager. Starting in version 23.05 and. Versions: up to 26.05.
RemediationAI
Monitor vendor advisories for a patch.
More in PostgreSQL
View allPostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() improperl
An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
Argument injection vulnerability in PostgreSQL 9.2.x before 9.2.4, 9.1.x before 9.1.9, and 9.0.x before 9.0.13 allows re
Unauthenticated arbitrary file write in Splunk Enterprise (below 10.2.4 and 10.0.7) and Splunk Cloud Platform (below 10.
Unauthenticated SQL injection in Sangoma Switchvox SMB Edition 8.3 (build 104997) lets remote attackers execute arbitrar
PostgreSQL versions before 9.2.22, 9.3.18, 9.4.13, 9.5.8 and 9.6.4 are vulnerable to incorrect authentication flaw allow
The build_tablename function in pgsql.c in the PostgreSQL (aka pgsql) extension in PHP through 5.6.7 does not validate t
A vulnerability in the h2oai/h2o-3 REST API versions 3.46.0.4 allows unauthenticated remote attackers to execute arbitra
In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_serve
Unauthenticated SQL injection in Vendure Shop API allows remote attackers to execute arbitrary SQL commands against the
Parse Server is an open source http web server backend. Rated critical severity (CVSS 10.0), this vulnerability is remot
Hard-coded default PostgreSQL credentials shipped in the docker-compose.yaml of langgenius Dify through version 1.5.1 al
Share
External POC / Exploit Code
Leaving vuln.today