BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2021-41131 in Linuxfoundation The Update Framework

High 8.7

python-tuf is a Python reference implementation of The Update Framework (TUF). In both clients (`tuf/client` and `tuf/ngclient`), there is a path traversal vulnerability that in the worst case can overwrite files ending in `.json` anywhere on the client system on a call to `get_one_valid_targetinfo()`. It occurs bec...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.18.7
EPSS1.5%
EPSS percentile74th
FixUnknown

Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, can impact systems beyond the vulnerable component, no confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Linuxfoundation The Update Framework ≤ 0.18.1

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

python-tuf is a Python reference implementation of The Update Framework (TUF). In both clients (`tuf/client` and `tuf/ngclient`), there is a path traversal vulnerability that in the worst case can overwrite files ending in `.json` anywhere on the client system on a call to `get_one_valid_targetinfo()`. It occurs because the rolename is used to form the filename, and may contain path traversal characters (ie `../../name.json`). The impact is mitigated by a few facts: It only affects implementations that allow arbitrary rolename selection for delegated targets metadata, The attack requires the ability to A) insert new metadata for the path-traversing role and B) get the role delegated by an existing targets metadata, The written file content is heavily restricted since it needs to be a valid, signed targets file. The file extension is always .json. A fix is available in version 0.19 or newer. There are no workarounds that do not require code changes. Clients can restrict the allowed character set for rolenames, or they can store metadata in files named in a way that is not vulnerable: neither of these approaches is possible without modifying python-tuf.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2021-41131
BreachSpider IDBS-2021-GLOBAL-073957-H
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:H
Published2021-10-19
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-22: Path Traversal

Attacker manipulates file path inputs to access files outside the intended directory.

Related attack patterns (CAPEC)

CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic via CWE-22

CAPEC-76 Manipulating Web Input to File System Calls via CWE-22

CAPEC-78 Using Escaped Slashes in Alternate Encoding via CWE-22

CAPEC-79 Using Slashes in Alternate Encoding via CWE-22

CAPEC-126 Path Traversal via CWE-22

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2021-41131 in python-tuf allows for a path traversal vulnerability in both tuf/client and tuf/ngclient, enabling file overwrites on the client system.

The vulnerability arises from the use of the rolename parameter in the get_one_valid_targetinfo() function, which can include path traversal characters, leading to arbitrary file overwrites on the client system.

Questions

What is CVE-2021-41131?

CVE-2021-41131 in python-tuf allows for a path traversal vulnerability in both tuf/client and tuf/ngclient, enabling file overwrites on the client system.

What is the CVSS score for CVE-2021-41131?

CVE-2021-41131 has CVSS 8.7 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:H. EPSS: 1.5%.

Is CVE-2021-41131 actively exploited?

No confirmed active exploitation of CVE-2021-41131 as of 2026-09-25.

How do I remediate CVE-2021-41131?

Priority: IMMEDIATE.

What systems are affected by CVE-2021-41131?

CVE-2021-41131 affects Linuxfoundation The Update Framework.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Linuxfoundation","product":"The Update Framework","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.