CVE-2026-123806
python-tuf: Platform-dependent delegation path matching
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.
Fixes and workarounds
Fix
tuf (PyPI): OSV reports a fixed version 7.0.0. Check the advisory for supported release branches.
Source: OSV GHSA-qp9x-wp8f-qgjjAffected products and versions
| Product | Versions | Authority |
|---|---|---|
| python-tuf theupdateframework |
< 7.0.0 (affected) | CNA: GitHub_M |
tuftuf
PyPI |
0.10.0 (affected, PyPI) 0.10.1 (affected, PyPI) 0.10.2 (affected, PyPI) 0.11.0 (affected, PyPI) 0.11.1 (affected, PyPI) 0.11.2.dev1 (affected, PyPI) 0.11.2.dev2 (affected, PyPI) 0.11.2.dev3 (affected, PyPI) 0.11.dev0 (affected, PyPI) 0.12.0 (affected, PyPI) 0.12.1 (affected, PyPI) 0.12.2 (affected, PyPI) 0.12.dev0 (affected, PyPI) 0.12.dev1 (affected, PyPI) 0.12.dev2 (affected, PyPI) 0.13.0 (affected, PyPI) 0.14.0 (affected, PyPI) 0.15.0 (affected, PyPI) 0.16.0 (affected, PyPI) 0.17.0 (affected, PyPI) 0.18.0 (affected, PyPI) 0.18.1 (affected, PyPI) 0.19.0 (affected, PyPI) 0.20.0 (affected, PyPI) 0.7.5 (affected, PyPI) 0.9.8 (affected, PyPI) 0.9.9 (affected, PyPI) 1.0.0 (affected, PyPI) 1.1.0 (affected, PyPI) 2.0.0 (affected, PyPI) 2.1.0 (affected, PyPI) 3.0.0 (affected, PyPI) 3.1.0 (affected, PyPI) 3.1.1 (affected, PyPI) 4.0.0 (affected, PyPI) 5.0.0 (affected, PyPI) 5.1.0 (affected, PyPI) 6.0.0 (affected, PyPI) Ecosystem version events: introduced 0; fixed 7.0.0 Source events (ECOSYSTEM)
Other versions: unaffected |
OSV GHSA-qp9x-wp8f-qgjj |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 3.1 / 4.0 medium |
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N | CNA: GitHub_M |
Exploit evidence
No exploit evidence in collected sources. This is not proof of no exploitation.
References
- https://github.com/theupdateframework/python-tuf/security/advisories/GHSA-qp9x-wp8f-qgjjCNA: GitHub_M · x_refsource_CONFIRM
- https://github.com/theupdateframework/python-tuf/commit/8ed4414946041030b264871ac41b929cf15774a5CNA: GitHub_M · x_refsource_MISC
- https://github.com/theupdateframework/python-tuf/releases/tag/v7.0.0CNA: GitHub_M · x_refsource_MISC
- https://github.com/advisories/GHSA-qp9x-wp8f-qgjjOSV / GitHub Security Advisories · advisory
- https://osv.dev/vulnerability/GHSA-qp9x-wp8f-qgjjOSV / GitHub Security Advisories · osv
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.