---
id: CVE-2020-15163
aliases:
  - GHSA-f8mr-jv2c-v8mg
  - PYSEC-2020-145
title: Invalid root may become trusted root in The Update Framework (TUF)
summary: Invalid root may become trusted root in The Update Framework (TUF)
severity: high
cvss: 8.7
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N'
vendor: tuf
product: tuf
ecosystem: pip
affected:
  - tuf < 0.12.0
patched:
  - tuf 0.12.0
published: '2020-09-09'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:48:54.904097074Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-f8mr-jv2c-v8mg'
references:
  - url: >-
      https://github.com/theupdateframework/tuf/security/advisories/GHSA-f8mr-jv2c-v8mg
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2020-15163'
  - url: 'https://github.com/theupdateframework/tuf/pull/885'
  - url: >-
      https://github.com/theupdateframework/tuf/commit/3d342e648fbacdf43a13d7ba8886aaaf07334af7
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/tuf/PYSEC-2020-145.yaml
  - url: 'https://github.com/theupdateframework/tuf'
  - url: 'https://github.com/theupdateframework/tuf/releases/tag/v0.12.0'
  - url: 'https://pypi.org/project/tuf'
tags:
  - osv
  - pip
epss: 0.0067
epssPercentile: 0.49891
ingestedAt: '2026-09-12T03:13:01.690Z'
---

## Overview

### Impact
The Python TUF reference implementation `tuf<0.12` will incorrectly trust a previously downloaded root metadata file which failed verification at download time. This allows an attacker who is able to serve multiple new versions of root metadata (i.e. by a man-in-the-middle attack) culminating in a version which has not been correctly signed to control the trust chain for future updates.

While investigating the reported vulnerability, we discovered that the detailed client workflow was not fully implemented. Specifically, for step 1.3 the newly downloaded root metadata was not being verified with a threshold of keys specified in the new root metadata file.
This missing step of the client workflow has been implemented in [PR #1101](https://github.com/theupdateframework/tuf/pull/1101), which is included in [v0.14.0](https://github.com/theupdateframework/tuf/releases/tag/v0.14.0) of tuf.

### Patches
A [fix](https://github.com/theupdateframework/tuf/pull/885), is available in version [0.12](https://github.com/theupdateframework/tuf/releases/tag/v0.12.0) and newer.

### Workarounds
No workarounds are known for this issue.

### References
* Pull request resolving the invalid root becoming trusted issue [PR 885](https://github.com/theupdateframework/tuf/pull/885)
* Pull request implementing self verification of newly downloaded root metadata [PR 1101](https://github.com/theupdateframework/tuf/pull/1101)

## Affected packages

- `tuf < 0.12.0`

## Remediation

Upgrade to a patched release:

- `tuf 0.12.0`
