Medium · published April 25, 2026
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.
| Product | Versions | Fixed in |
|---|---|---|
| amazon/tough | ≥ 0.9.0, < 0.22.0 | 0.22.0 |
| amazon/tuftool | < 0.15.0 | 0.15.0 |