CVE-2026-123806 PUBLISHED

python-tuf: Platform-dependent delegation path matching

Assigner: GitHub_M
Reserved: 06.11.2026 Published: 09.11.2026 Updated: 09.11.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CVSS Score: 4

Product Status

Vendor theupdateframework
Product python-tuf
Versions
  • Version < 7.0.0 is affected

References

Problem Types

  • CWE-178: Improper Handling of Case Sensitivity CWE