GitHub Advisoryadvisory · crates.io

GHSA-4v58-8p28-2rq3 awslabs/tough is Missing Delegated Metadata Validation

HIGH Published 2026-05-05 Modified 2026-05-05 Official page ↗
Aliases
CVE-2026-6967
Ecosystem
crates.io
Packages
tough, tuftool
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L
Weaknesses
CWE-345
Reviewed
2026-05-05

Affected packages

• crates.io tough: >= 0.9.0, < 0.22.0 → fixed in 0.22.0 • crates.io tuftool: < 0.15.0 → fixed in 0.15.0

Description

Summary Missing expiration, hash, and length enforcement in delegated metadata validation in awslabs/tough before tough-v0.22.0 allows remote authenticated users with delegated signing authority to bypass TUF specification integrity checks for delegated targets metadata and poison the local metadata cache, because load_delegations does not apply the same validation checks as the top-level targets metadata path. Impact The tough library, prior to 0.22.0, does not properly verify delegated target metadata. It allows someone with write access to the metadata to serve expired or otherwise invalid targets from a TUF repository which tough will then trust rather than reject. Impacted Versions: tough 0.9.0 through 0.21.x, tuftool through 0.14.x Patches This issue has been addressed in tough version 0.22.0 and tuftool version 0.15.0. We recommend upgrading to the latest version and ensuring any forked or derivative code is patched to incorporate the new fixes. Workarounds No workarounds to this issue are known. References • CVE-2026-6967 If there are any questions or comments about this advisory, please contact [AWS/Amazon] Security via the vulnerability reporting page or directly via email to [email protected]. Please do not create a public GitHub issue. Acknowledgement Amazon Web Services Labs would like to thank Oleh Konko of 1seal for collaborating on this issue through the coordinated vulnerability disclosure process.

Related

Alias · CVE (1)

  • CVE-2026-6967 Missing expiration, hash, and length enforcement in delegated metadata validation in awslabs/tough before tough-v0.22.0 allows remote… vulnerability

Weakness · CWE (1)

  • CWE-345 Insufficient Verification of Data Authenticity weakness

References