SciTokens: Authorization Bypass via Incorrect Scope Path Prefix Checking
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-285.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| scitokens | scitokens | before 1.9.6 | 1.9.6 | Patch available | CNA |
| — | scitokens (PyPI) | before 1.9.6 | 1.9.6 | Patch available | GHSA-w8fp-g9rh-34jh |
- scitokens Vendorscitokens Affected before 1.9.6 Fixed in 1.9.6 Patch available CNA
- scitokens (PyPI) Vendor— Affected before 1.9.6 Fixed in 1.9.6 Patch available GHSA-w8fp-g9rh-34jh
Remediation
- Fix · CNA scitokens (scitokens) Fixed in 1.9.6
- Fix · GHSA-w8fp-g9rh-34jh scitokens (PyPI) Fixed in 1.9.6 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2026-32716
- 2026-10-03 Alias added: GHSA-w8fp-g9rh-34jh
References
More Scitokens Library vulnerabilities
- TI-2026-25206 SciTokens vulnerable to SQL Injection in KeyCache CVSS 3.1CRITICAL 9.8
- TI-2026-25219 SciTokens: Authorization Bypass via Path Traversal in Scope Validation CVSS 3.1HIGH 8.1
Sources
- CVE-2026-32716 · CVE Program
- CVE-2026-32716 · NVD
- FIRST EPSS
- GHSA-w8fp-g9rh-34jh · GitHub Advisory Database · CC BY 4.0
- CVE-2026-32716 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences