CVE-2026-123806
python-tuf: Platform-dependent delegation path matching
- Severity
- medium CVSS 4.0 (v3.1)
- Affects
- python-tuf · theupdateframework
- Weakness
- CWE-178: Improper Handling of Case Sensitivity
- Published
- 9 November 2026 by GitHub_M
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.