CVE-2026-23986

MEDIUM
中文标题:
(暂无数据)
英文标题:
Copier safe template has arbitrary filesystem write access via directory symlinks when _preserve_symlinks: true
CVSS分数: 6.9
发布时间: 2026-01-21 22:20:37
漏洞类型: (暂无数据)
状态: PUBLISHED
数据质量分数: 0.30
数据版本: v2
漏洞描述
中文描述:

(暂无数据)

英文描述:

Copier is a library and CLI app for rendering project templates. Prior to version 9.11.2, Copier suggests that it's safe to generate a project from a safe template, i.e. one that doesn't use unsafe features like custom Jinja extensions which would require passing the `--UNSAFE,--trust` flag. As it turns out, a safe template can currently write to arbitrary directories outside the destination path by using directory a symlink along with `_preserve_symlinks: true` and a generated directory structure whose rendered path is inside the symlinked directory. This way, a malicious template author can create a template that overwrites arbitrary files (according to the user's write permissions), e.g., to cause havoc. Version 9.11.2 patches the issue.

CWE类型:
CWE-61
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
copier-org copier < 9.11.2 - - cpe:2.3:a:copier-org:copier:<_9.11.2:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
https://github.com/copier-org/copier/security/advisories/GHSA-4fqp-r85r-hxqh x_refsource_CONFIRM
cve.org
访问
https://github.com/copier-org/copier/commit/b3a7b3772d17cf0e7a4481978188c9f536c8d8f6 x_refsource_MISC
cve.org
访问
https://github.com/copier-org/copier/releases/tag/v9.11.2 x_refsource_MISC
cve.org
访问
CVSS评分详情
4.0 (cna)
MEDIUM
6.9
CVSS向量: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
机密性
NONE
完整性
HIGH
可用性
HIGH
后续系统影响 (Subsequent):
机密性
NONE
完整性
NONE
可用性
NONE
时间信息
发布时间:
2026-01-21 22:20:37
修改时间:
2026-01-21 22:20:37
创建时间:
2026-01-22 06:00:11
更新时间:
2026-01-22 06:00:14
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2026-23986 2026-01-22 03:19:50 2026-01-21 22:00:11
NVD nvd_CVE-2026-23986 2026-01-22 02:00:05 2026-01-21 22:00:14
版本与语言
当前版本: v2
主要语言: EN
支持语言:
EN
安全公告
暂无安全公告信息
变更历史
v2 NVD
2026-01-22 06:00:14
data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • data_sources: ['cve'] -> ['cve', 'nvd']