Public vulnerability disclosure

CVE-2026-123806

python-tuf: Platform-dependent delegation path matching

publishedCWE-178

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.

Technical severity4.0 mediumCVSS 3.1 · CNA: GitHub_M
Published2026-11-09Source updated 2026-11-09
Collected2026-11-092 attributed sources

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-qgjj

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
python-tuf
theupdateframework
< 7.0.0 (affected) CNA: GitHub_M
tuf

tuf
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)
[
  {
    "introduced": "0"
  },
  {
    "fixed": "7.0.0"
  }
]

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

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
3.1 / 4.0
medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NCNA: GitHub_M

Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

References

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/cves
https://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.

Agent access JSON · OpenAPI · CVE API guide