A high-severity vulnerability tracked as CVE-2026-53951 affects the Copier library and CLI, allowing attackers to bypass the tool’s template trust protections and trigger execution of template-defined actions without the usual --trust prompt. The flaw impacts versions 9.5.0 through 9.15.1 and stems from improper validation of trusted template URLs: Copier checked trust with a raw str.startswith comparison before normalizing the path, enabling a crafted template reference containing .. to appear to match a trusted prefix while resolving to a different, attacker-controlled location.
Successful exploitation can cause Copier to run malicious tasks, migrations, or jinja_extensions, resulting in arbitrary command execution with potential impact to confidentiality, integrity, and availability. The issue is classified under CWE-22 and CWE-94, and the project has released Copier v9.15.2 to fix the trust-bypass path traversal issue; the release notes identify the update as a security fix preventing trusted template URL abuse.

See affected versions and whether adversaries are exploiting it.
2 events from the most recent confirmed update back to the earliest known activity.
CVE-2026-53951 was disclosed as a vulnerability in the Copier library and CLI application, caused by a raw prefix check before URL normalization that allows path traversal to bypass trust prompts. The issue can let attacker-controlled templates execute tasks, migrations, or Jinja extensions without the normal --trust confirmation, leading to arbitrary command execution.
The copier-org project released Copier version 9.15.2, including a security fix to prevent a trust bypass via path traversal in trusted template URLs. This patch addresses the flaw affecting versions 9.5.0 through 9.15.1.
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
2 references tracked. Mallory keeps watching after this page renders.
Map indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.