CVE-2026-23838 (CNNVD-202601-3005)

HIGH
中文标题:
Tandoor Recipes 安全漏洞
英文标题:
Tandoor Recipes module allows SQLite database to be externally accessible with the default settings
CVSS分数: 8.7
发布时间: 2026-01-19 18:14:55
漏洞类型: 其他
状态: PUBLISHED
数据质量分数: 0.40
数据版本: v3
漏洞描述
中文描述:

Tandoor Recipes是Tandoor Recipes开源的一个用于管理食谱、计划膳食、建立购物清单等等的应用程序。 Tandoor Recipes 23.05版本至26.05之前版本存在安全漏洞,该漏洞源于默认配置下数据库文件可能通过HTTP被外部访问,可能导致数据泄露。

英文描述:

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`.

CWE类型:
CWE-538
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
NixOS nixpkgs >= 23.05, < 26.05 - - cpe:2.3:a:nixos:nixpkgs:>=_23.05,_<_26.05:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
https://github.com/NixOS/nixpkgs/security/advisories/GHSA-g8w3-p77x-mmxh x_refsource_CONFIRM
cve.org
访问
https://github.com/NixOS/nixpkgs/issues/338339 x_refsource_MISC
cve.org
访问
https://github.com/NixOS/nixpkgs/pull/427845 x_refsource_MISC
cve.org
访问
https://github.com/NixOS/nixpkgs/pull/481140 x_refsource_MISC
cve.org
访问
CVSS评分详情
4.0 (cna)
HIGH
8.7
CVSS向量: 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
机密性
HIGH
完整性
NONE
可用性
NONE
后续系统影响 (Subsequent):
机密性
NONE
完整性
NONE
可用性
NONE
时间信息
发布时间:
2026-01-19 18:14:55
修改时间:
2026-01-19 18:14:55
创建时间:
2026-01-20 03:10:35
更新时间:
2026-01-27 06:00:17
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2026-23838 2026-01-20 02:19:58 2026-01-19 19:10:35
NVD nvd_CVE-2026-23838 2026-01-20 03:00:05 2026-01-19 19:10:38
CNNVD cnnvd_CNNVD-202601-3005 2026-01-26 02:10:02 2026-01-25 18:11:53
版本与语言
当前版本: v3
主要语言: EN
支持语言:
EN ZH
安全公告
暂无安全公告信息
变更历史
v3 CNNVD
2026-01-26 02:11:53
vulnerability_type: 未提取 → 其他; cnnvd_id: 未提取 → CNNVD-202601-3005; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 其他
  • cnnvd_id: 未提取 -> CNNVD-202601-3005
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2026-01-20 03:10:38
data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • data_sources: ['cve'] -> ['cve', 'nvd']