Home / NixOS / nixpkgs / CVE-2026-23838
CVE-2026-23838: is it exploited, and which versions of NixOS nixpkgs are affected and fixed?
CVE-2026-23838 is a sensitive information in an accessible file vulnerability in NixOS nixpkgs. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: nixpkgs >= 23.05, < 26.05 (CVE record by GitHub_M). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (8.7, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:14 UTC.
What is 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`.
From the CVE record by GitHub_M, last updated January 20, 2026, 21:41 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| NixOS | nixpkgs | >= 23.05, < 26.05 |
As the CVE record by GitHub_M states it, last updated January 20, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-23838?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.7 | CVSS 4.0 | 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 | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-23838 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, January 20, 2026)
- EPSS
- 0.51% probability of exploitation activity in the next 30 days, percentile 45.0 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-538 Insertion of Sensitive Information into Externally-Accessible File or Directory
Where are the vendor advisories and references?
- https://github.com/NixOS/nixpkgs/security/advisories/GHSA-g8w3-p77x-mmxh x_refsource_CONFIRM
- https://github.com/NixOS/nixpkgs/issues/338339 x_refsource_MISC
- https://github.com/NixOS/nixpkgs/pull/427845 x_refsource_MISC
- https://github.com/NixOS/nixpkgs/pull/481140 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- January 16, 2026
- Published
- January 19, 2026, 18:14 UTC
- CVE record updated
- January 20, 2026, 21:41 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 10:22 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:14 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect nixpkgs?
- Jul 15, 2026CVE-2026-61828 NixOS nixpkgs: insecure default permissions
- Feb 9, 2026CVE-2026-25740 NixOS nixpkgs: runs with more privileges than needed
- Feb 2, 2026CVE-2026-25137 NixOS nixpkgs: files or folders accessible to outside parties
- Nov 17, 2025CVE-2025-64766 NixOS nixpkgs: hard-coded credentials
- Apr 15, 2025CVE-2025-32438 NixOS nixpkgs: creation of Temporary File With Insecure Permissions
Questions about CVE-2026-23838
Is CVE-2026-23838 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 0.51% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of NixOS nixpkgs are affected by CVE-2026-23838?
nixpkgs >= 23.05, < 26.05, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2026-23838?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2026-23838?
High (8.7, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-23838?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.