Shellfeed logo Shellfeed

CVE-2026-123806 · MEDIUM (CVSS 4.0)

Summary: python-tuf: Platform-dependent delegation path matching

EPSS: 0.1% probability of exploitation in the next 30 days (percentile 2.9).

Details

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.

Severity

MEDIUM (CVSS 4.0) — vector CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Affected packages

  • PyPI tuf [0 – 7.0.0]
  • GIT github.com/theupdateframework/python-tuf [0 – 353bdb767db56fd4667c9bcf56b710d50fdc2ac0]

References

Posts about CVE-2026-123806