# CVE-2025-2887: Failure to detect delegated target rollback in tough

> CVE-2025-2887: Failure to detect delegated target rollback in tough. CVSS 4.5 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2025-2887
Last updated: 2026-06-17T09:07:47Z

- Published: 2025-03-27 22:23 UTC · Updated: 2026-06-17 09:07 UTC · Assigner: AMZN
- CVSS: 4.5 (CVSS 3.1) · Severity: Medium · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N
- EPSS: 0.33%, 26th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-1025

## Description

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.

## Affected vendors and products

- AWS: tough

## Tracked companies

- [Amazon Web Services](https://rewindex.com/company/aws.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2025-2887)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2025-2887)
- [https://aws.amazon.com/security/security-bulletins/AWS-2025-007/](https://aws.amazon.com/security/security-bulletins/AWS-2025-007/)
- [https://github.com/awslabs/tough/releases/tag/tough-v0.20.0](https://github.com/awslabs/tough/releases/tag/tough-v0.20.0)
- [https://github.com/awslabs/tough/security/advisories/GHSA-q6r9-r9pw-4cf7](https://github.com/awslabs/tough/security/advisories/GHSA-q6r9-r9pw-4cf7)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2025-2887 · Markdown: https://rewindex.com/cve/CVE-2025-2887.md · JSON: https://rewindex.com/api/v1/cves/CVE-2025-2887 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T02:50:05.163Z
