CVE-2026-23838
CVE-2026-23838 is a high-severity vulnerability with a CVSS 4.0 base score of 8.7. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-538.
Key facts
- Severity: High (CVSS 4.0 base score 8.7)
- EPSS exploit prediction: 0% (32nd percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-3303
- Weakness: CWE-538
- Published:
- Last modified:
Description
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`.
Frequently asked questions
- What is CVE-2026-23838?
- 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`.
- How severe is CVE-2026-23838?
- CVE-2026-23838 has a CVSS 4.0 base score of 8.7, rated high severity.
- Is CVE-2026-23838 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (32nd percentile), an estimate of the probability of exploitation in the next 30 days.
- How do I fix CVE-2026-23838?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2026-23838 have an EU (EUVD) identifier?
- Yes. CVE-2026-23838 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-3303.
- When was CVE-2026-23838 published?
- CVE-2026-23838 was published on 2026-01-19 and last updated on 2026-06-17.
References
- https://github.com/NixOS/nixpkgs/issues/338339
- https://github.com/NixOS/nixpkgs/pull/427845
- https://github.com/NixOS/nixpkgs/pull/481140
- https://github.com/NixOS/nixpkgs/security/advisories/GHSA-g8w3-p77x-mmxh
Other CWE-538 vulnerabilities
- CVE-2016-20024 — Critical (CVSS 9.8): ZKTeco ZKTime.Net 3.0.1.6 contains an insecure file permissions vulnerability that allows unprivileged users to…
- CVE-2025-12059 — Critical (CVSS 9.8): Insertion of Sensitive Information into Externally-Accessible File or Directory vulnerability in Logo Software Industry…
- CVE-2023-46723 — High (CVSS 8.9): lte-pic32-writer is a writer for PIC32 devices. In versions 0.0.1 and prior, those who use `sendto.txt` are vulnerable…
- CVE-2026-49298 — High (CVSS 8.8): A bug in Apache Airflow's KubernetesExecutor caused JWT tokens used by worker pods to authenticate against the…
- CVE-2026-21672 — High (CVSS 8.8): A vulnerability allowing local privilege escalation on Windows-based Veeam Backup & Replication servers.
- CVE-2023-7062 — High (CVSS 8.8): The Advanced File Manager Shortcodes plugin for WordPress is vulnerable to Directory Traversal in all versions up to,…