Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-23986— Copier safe template has arbitrary filesystem write access via directory symlinks when _preserve_symlinks: true

Quick assessment

Affected
copier-org copier
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Copier是Copier开源的一个用于渲染项目模板的库。 Copier 9.11.2之前版本存在安全漏洞,该漏洞源于使用符号链接和特定设置可能导致写入目标路径之外的任意目录。

AI Predicted 7.8 Difficulty: Easy EPSS 0.27% · P18

Possible ATT&CK Techniques 1 AI

T1053 · Scheduled Task/Job
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-23986

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Copier safe template has arbitrary filesystem write access via directory symlinks when _preserve_symlinks: true
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
CWE-61
Source: CVE Program / CVE List V5
Vulnerability Title
Copier 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Copier是Copier开源的一个用于渲染项目模板的库。 Copier 9.11.2之前版本存在安全漏洞,该漏洞源于使用符号链接和特定设置可能导致写入目标路径之外的任意目录。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
copier-org copier < 9.11.2 -

II. Public POCs for CVE-2026-23986

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-23986

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-23986 (1)

IV. Related Vulnerabilities