# CVE-2025-2886: Terminating targets role delegations are not respected in tough

- Priority: **Routine**
- Reason: Not severe (CVSS 5.7, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-03-27 · Modified: 2025-10-14
- Aliases: GHSA-v4wr-j3w6-mxqc
- Record: https://cvemate.com/vulnerability/CVE-2025-2886 · JSON: https://cvemate.com/vulnerability/CVE-2025-2886/json

## Description

```text
Missing validation of terminating delegation causes the client to continue searching the defined delegation list, even after searching a terminating delegation. This could cause the client to fetch a target from an incorrect source, altering the target contents. Users should upgrade to tough version 0.20.0 or later and ensure any forked or derivative code is patched to incorporate the new fixes.
```

## Signals

- CVSS: 5.7 medium (v4.0, CVE.org) CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
- EPSS: 0.332%, percentile 28.471%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- amazon tough: \< 0.20.0
- aws tough: ≥ 0.1.0, \< 0.20.0
- Crates.Io tough (Crates.Io): \< 0.20.0

## References

- <https://github.com/awslabs/tough/security/advisories/GHSA-v4wr-j3w6-mxqc>
- <https://aws.amazon.com/security/security-bulletins/AWS-2025-007/>
- <https://github.com/awslabs/tough/releases/tag/tough-v0.20.0>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-2886>
- <https://github.com/awslabs/tough/commit/598111f88105a707ee68b0fa06c52da7176ea96a>
- <https://aws.amazon.com/security/security-bulletins/AWS-2025-007>
- <https://github.com/awslabs/tough>

---

Data as of 2026-12-05T05:10:16.718Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
