# CVE-2026-123806: python-tuf: Platform-dependent delegation path matching

- Severity: Medium 4.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-05-28T22:46:13.000Z
- Modified: 2026-11-13T13:18:00.870Z
- Also known as: GHSA-qp9x-wp8f-qgjj
- Weaknesses: CWE-178
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- theupdateframework python-tuf: < 7.0.0
- tuf (PyPI): before 7.0.0

## Every score

- GitHub_M: CVSS:3.1 4.0 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 4.0 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://github.com/theupdateframework/python-tuf/security/advisories/GHSA-qp9x-wp8f-qgjj> (web)
- <https://github.com/theupdateframework/python-tuf/commit/8ed4414946041030b264871ac41b929cf15774a5>
- <https://github.com/theupdateframework/python-tuf/releases/tag/v7.0.0> (web)
- <https://github.com/theupdateframework/python-tuf> (package)

## Sources

- CVE List: [CVE-2026-123806](https://www.cve.org/CVERecord?id=CVE-2026-123806), CVE Terms of Use, modified 2026-11-13
- GitHub Advisory Database: [GHSA-qp9x-wp8f-qgjj](https://github.com/advisories/GHSA-qp9x-wp8f-qgjj), CC-BY-4.0, modified 2026-11-09
- NVD: [CVE-2026-123806](https://nvd.nist.gov/vuln/detail/CVE-2026-123806), Public domain, modified 2026-11-13

---

Page: https://cve.day/CVE-2026-123806 · Whole record: https://cve.day/CVE-2026-123806.json · Rebuilt by cve.day 2026-11-25T22:59:49.663Z
