# CVE-2025-2887: Failure to detect delegated target rollback 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-q6r9-r9pw-4cf7
- Record: https://cvemate.com/vulnerability/CVE-2025-2887 · JSON: https://cvemate.com/vulnerability/CVE-2025-2887/json

## Description

```text
During a target rollback, the client fails to detect the rollback for delegated targets. 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-q6r9-r9pw-4cf7>
- <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-2887>
- <https://github.com/awslabs/tough/commit/3345151a87c358d1ce43aeb7e8b3ebea5ebdbab4>
- <https://aws.amazon.com/security/security-bulletins/AWS-2025-007>
- <https://github.com/awslabs/tough>

---

Data as of 2026-12-05T05:13:17.593Z. 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
