Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessControl case-colliding delegated role in repo
-
ExploitOrder malicious delegation before legitimate one
-
ExecutionWindows ngclient case-folds requested target path
-
ImpactClient accepts attacker's wrong-delegation target
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Case sensitivity handling
|
| Exploitation Conditions | Exploitation requires ALL of: (1) a TUF repository configured with two or more path-based delegations whose glob patterns differ only by case (e.g. 'Foo/*' and 'foo/*'); (2) the attacker controls one of those case-colliding delegated roles; (3) the attacker-controlled role is visited BEFORE the legitimate role in the delegation pre-order walk; and (4) the victim runs python-tuf ngclient on Windows, where os.path.normcase (ntpath) lowercases input and makes delegation path matching case-insensitive. Limiting factors that reduce real-world risk: Linux and macOS clients are completely unaffected (POSIX normcase is identity); the required case-colliding delegation configuration is non-default and must be present in the repository; and the attacker must already hold a delegated role. The only complete fix is upgrading to python-tuf 7.0.0, which replaces fnmatch.fnmatch with fnmatch.fnmatchcase. |
| Impact | This is a genuinely low-priority issue despite being a real authorization flaw. The vuln.today decision label is 'this_month' (not act_now/emergency), it is NOT in CISA KEV (no confirmed active exploitation), and no EPSS score was supplied. The provided CVSS is 4.0 (Medium) with vector AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N - note the local attack vector and integrity-only impact. The 'low real risk' reading is reinforced by narrow preconditions: the flaw (CWE-178, improper case handling via fnmatch.fnmatch → os.path.normcase) only manifests on Windows clients, only when a TUF repository is configured with path-based delegations that collide only by case, and only when the attacker already controls one of those delegated roles and it is ordered first in the delegation walk. Linux and macOS clients are explicitly unaffected. One signal to verify: the official vector asserts AV:L, but target delivery in TUF occurs over the network from a repository, so network reachability is plausible - this is reflected in my independent assessment below. No EPSS/KEV data was provided, consistent with a low-probability, configuration-dependent weakness rather than a mass-exploitable bug. |
| Exploit ScenarioDerived | On a Windows host, a victim's python-tuf ngclient updates targets from a TUF repository in which the attacker controls a delegated role whose glob path pattern differs from a legitimate role only by case (e.g. 'Foo/*' vs 'foo/*') and is visited first in the pre-order delegation walk. When the client requests 'foo/something', Windows path normalization (ntpath.normcase lowercases) causes the attacker's 'Foo/something' delegation to match, and the client accepts the attacker-provided target from the wrong delegation. The GHSA advisory documents the conceptual attack steps, but no verified working exploit code is published; Linux and macOS clients are not affected. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 09, 2026
Delegation path authorization in python-tuf's ngclient (all versions through 6.0.0) becomes case-insensitive on Windows, so a repository whose path-based delegations differ only by case can hand a requested target to the wrong, attacker-controlled role. Only Windows clients are exposed, and only when the repository contains case-colliding delegation patterns such as 'Foo/*' and 'foo/*', the attacker already controls one of those delegated roles, and that role is visited before the legitimate one in the delegation pre-order walk. Impact is limited to a low-severity integrity error in target selection: Linux and macOS clients normalize nothing and are unaffected, and no public exploit code or CISA KEV entry was identified at time of analysis; the priority label is this_month, and our independent assessment rates it AV:N/AC:H rather than the CNA's AV:L, with the same integrity-only impact.
RemediationAI
Upgrade python-tuf to 7.0.0 (pip install -U tuf==7.0.0), which replaces fnmatch.fnmatch with fnmatch.fnmatchcase in DelegatedRole._is_target_in_pathpattern and makes delegation path matching case-sensitive on every platform; the release is published at https://github.com/theupdateframework/python-tuf/releases/tag/v7.0.0, the code change is commit 8ed4414946041030b264871ac41b929cf15774a5, and the advisory is https://github.com/theupdateframework/python-tuf/security/advisories/GHSA-qp9x-wp8f-qgjj. The assessment is explicit that upgrading is the only complete fix, so no partial workaround restores correct authorization while staying on versions <= 6.0.0. For teams that cannot upgrade immediately, the practical compensating controls act on the repository configuration rather than the client: audit delegation metadata and eliminate any path patterns that collide case-insensitively (for example 'Foo/*' versus 'foo/*'), since the attack has no effect without such a pair - the trade-off is reduced delegation granularity - and, where the delegation set cannot be changed, restrict or block updates of the delegation/targets metadata to trusted publication paths so a controlled delegated role cannot be reordered ahead of the legitimate one, accepting that this is a publication-process control and not a client-side guarantee. Windows clients carry the risk while Linux and macOS clients are unaffected, so upgrade priority can be sequenced accordingly, but the fixed library version should still be rolled out everywhere.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in pypi, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
TUF (The Update Framework) delegates trust for subsets of a repository's targets to named roles, and each path-based delegation carries a glob pattern that bounds which target paths it may sign. python-tuf implements that check in DelegatedRole._is_target_in_pathpattern in tuf/api/_payload.py: it splits both the requested target path and the delegation pattern on '/', requires the two to have the same number of segments, and then matches each segment with fnmatch.fnmatch. fnmatch.fnmatch is not a pure glob matcher - it first calls os.path.normcase on both the name and the pattern and only then calls fnmatchcase. On POSIX, os.path is posixpath and normcase is the identity function, so matching is case-sensitive. On Windows, os.path is ntpath, whose normcase lowercases its argument and converts '/' to '\\', so the per-segment matching silently becomes case-insensitive. The root-cause class is CWE-178 (Improper Handling of Case Sensitivity): an authorization decision whose result depends on the client host's filesystem semantics violates the TUF specification's case-sensitive path pattern semantics. The upstream fix in commit 8ed4414946041030b264871ac41b929cf15774a5 swaps fnmatch.fnmatch for fnmatch.fnmatchcase, which is documented as performing no case normalization, and adds regression cases such as ('FOO.tgz','foo.tgz') and ('foo/bar','Foo/*') to tests/test_api.py. The CNA scored the flaw 4.0 with AV:L; the independent assessment instead treats the vector as AV:N/AC:H, reflecting that the malicious content arrives over the network but that four narrow preconditions must all hold, and keeps the impact at integrity-only (I:L) with no confidentiality or availability effect.
Know when Python gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Targets are delivered over the network from a repository (AV:N), but exploitation needs a Windows client plus case-colliding attacker-controlled delegations ordered first (AC:H); integrity-only impact, no confidentiality or availability loss.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
EUVD-2026-120403
NVD
CVE.org
EPSS
GitHub
Exploit-DB