NetSight
medium4.0

CVE-2026-123806

python-tuf is a Python reference implementation of The Update Framework (TUF).

Impact

python-tuf is a Python reference implementation of The Update Framework (TUF). Prior to 7.0.0, DelegatedRole._is_target_in_pathpattern in tuf/api/_payload.py uses fnmatch.fnmatch, which applies os.path.normcase before matching and makes delegation path authorization case-insensitive on Windows. When a TUF repository has path-based delegations that differ only by case and an attacker-controlled role is visited before the legitimate role, ngclient can accept an attacker-provided target from the wrong delegation for a requested path. Linux and macOS clients are not affected because their path normalization does not change case. This issue is fixed in 7.0.0.

An attacker can exploit this with local access to the system, without logging in, without any action by a user. If it succeeds: low risk of data or systems being changed.

Affected packages

EcosystemPackageAffectedFixed in
piptuf<= 6.0.07.0.0

Affected products · Theupdateframework

ProductAffected versions
Python-tuf
before 7.0.0
Version < 7.0.0

Weakness classification

References