CVE & CISA-KEV Catalog

CVE-2026-23986

HIGH
7.1
CVSS v3
NVD

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.

How to fix

Remediation Available
copierNVD
Affected:< 9.11.2Fixed in:9.11.2CVE-2026-23986derived from NVD

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H

Exploit Intelligence

0.22%probability of exploitation in 30 days
13thpercentile

Low risk: more likely to be exploited than 13% of all known CVEs.

References

Exploit1
Release Notes1
Embed a live status badge for CVE-2026-23986
CVE-2026-23986 severity badge

Markdown

[![CVE-2026-23986](https://tridentstack.com/cve/badge/CVE-2026-23986.svg)](https://tridentstack.com/cve/CVE-2026-23986)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-23986"><img src="https://tridentstack.com/cve/badge/CVE-2026-23986.svg" alt="CVE-2026-23986"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-02-02.