high8.1
CVE-2026-32716
SciTokens has an Authorization Bypass via Incorrect Scope Path Prefix Checking
Impact
SciTokens is a reference library for generating and using SciTokens. Prior to version 1.9.6, the Enforcer incorrectly validates scope paths by using a simple prefix match (startswith). This allows a token with access to a specific path (e.g., /john) to also access sibling paths that start with the same prefix (e.g., /johnathan, /johnny), which is an Authorization Bypass. This issue has been patched in version 1.9.6.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | scitokens | < 1.9.6 | 1.9.6 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Scitokens | Scitokens Library | before 1.9.6 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-w8fp-g9rh-34jh
- https://github.com/scitokens/scitokens/security/advisories/GHSA-w8fp-g9rh-34jh
- https://nvd.nist.gov/vuln/detail/CVE-2026-32716
- https://github.com/scitokens/scitokens/commit/7a237c0f642efb9e8c36ac564b745895cca83583
- https://github.com/scitokens/scitokens/releases/tag/v1.9.6