Description
Incomplete path traversal fixes in awslabs/tough before tough-v0.22.0 allow remote authenticated users with delegated signing authority to write files outside intended output directories via absolute target names in copy_target/link_target, symlinked parent directories in save_target, or symlinked metadata filenames in SignedRole::write, because write paths trust the joined destination path without post-resolution containment verification. We recommend you upgrade to tough-v0.22.0 / tuftool-v0.15.0.
Problem types
CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Product status
0.22.0
0.15.0
References
aws.amazon.com/security/security-bulletins/2026-019-aws/
github.com/awslabs/tough/releases/tag/tough-v0.22.0
github.com/awslabs/tough/releases/tag/tuftool-v0.15.0
crates.io/crates/tough/0.22.0
crates.io/crates/tuftool/0.15.0
github.com/.../tough/security/advisories/GHSA-v57p-gppj-p9vg