CVE-2026-123806
python-tuf is a Python reference implementation of The Update Framework (TUF).
Auswirkung
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.
Ein Angreifer kann die Lücke mit lokalem Zugriff auf das System ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: geringes Risiko, dass Daten oder Systeme verändert werden.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| pip | tuf | <= 6.0.0 | 7.0.0 |
Betroffene Produkte · Theupdateframework
| Produkt | Betroffene Versionen |
|---|---|
| Python-tuf | vor 7.0.0 Version < 7.0.0 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/advisories/GHSA-qp9x-wp8f-qgjj
- https://github.com/theupdateframework/python-tuf/security/advisories/GHSA-qp9x-wp8f-qgjj
- https://github.com/theupdateframework/python-tuf/releases/tag/v7.0.0
- https://github.com/theupdateframework/python-tuf/commit/8ed4414946041030b264871ac41b929cf15774a5