CVE-2022-24065: Cookiecutter Project Cookiecutter

Critical severity, CVSS 9.8. EPSS: 4.5% chance of exploitation in the next 30 days.

The package cookiecutter before 2.1.1 are vulnerable to Command Injection via hg argument injection. When calling the cookiecutter function from Python code with the checkout parameter, it is passed to the hg checkout command in a way that additional flags can be set. The additional flags can be used to perform a command injection.

Affected products

Published 2022-06-08. Last modified 2026-06-17.