Path traversal in tough - CVE-2021-41149
Published: October 19, 2021 / Updated: April 25, 2026
tough
Amazon Web Services
Description
The vulnerability allows a remote attacker to overwrite files with arbitrary content anywhere on the system.
The vulnerability exists due to improper sanitization of target names in repository caching and target output handling when caching a repository or saving specific targets to an output directory. A remote attacker can supply a crafted target name to overwrite files with arbitrary content anywhere on the system.