{"items":[{"id":"NVI-00018484","kind":"vulnerability","title":"tuf has platform-dependent delegation path matching","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-qp9x-wp8f-qgjj"],"plain_summary":"GitHub lists this reviewed advisory for tuf. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-2e87a6c1f85f894ab3dfa7c0d8f305be"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-05-28T22:46:14.000Z","value":"4 medium","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-2e87a6c1f85f894ab3dfa7c0d8f305be"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-2e87a6c1f85f894ab3dfa7c0d8f305be","url":"https://github.com/advisories/GHSA-qp9x-wp8f-qgjj","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-qp9x-wp8f-qgjj","publisher":"GitHub Advisory Database","observed_at":"2026-11-07T00:53:22.747Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-2e87a6c1f85f894ab3dfa7c0d8f305be"],"technology":"tuf","known_exclusions":[],"conditions_summary":"`DelegatedRole._is_target_in_pathpattern` uses `fnmatch.fnmatch` to decide whether a given target path is authorized by a delegation's glob pattern.\n\nPython's `fnmatch.fnmatch` calls `os.path.normcase()` on both arguments before matching. On POSIX hosts `normcase` is the identity function; on Windows hosts `os.path` resolves to `ntpath`, whose `normcase` lowercases its input and replaces `/` with `\\`.\n\nAs a result, python-tuf's delegation *path pattern* matching is case-sensitive on Linux/macOS but case-INSENSITIVE on Windows. This makes the authorization decision for a target dependent on the host operating system of the client running the updater.\n\nThe result on Windows is a TUF specification violation in the python-tuf `ngclient` implementation.\n\n## Vulnerable code\n\n`tuf/api/_payload.py` (HEAD `7ecb67d`):\n\n```python\n1183  @staticmethod\n1184  def _is_target_in_pathpattern(targetpath: str, pathpattern: str) -> bool:\n1185      \"\"\"Determine whether ``targetpath`` matches the ``pathpattern``.\"\"\"\n1186      # We need to make sure that targetpath and pathpattern are pointing to\n1187      # the same directory as fnmatch doesn't threat \"/\" as a special symbol.\n1188      target_parts = tar","public_affected_ranges":["<= 6.0.0"]}],"null_published_at":"2026-11-07T07:07:39.841Z","source_updated_at":"2026-05-28T22:46:14.000Z","source_disclosed_at":"2026-05-28T22:46:13.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-11-07T00:53:22.747Z"}],"next_cursor":null,"snapshot_revision":"42594"}