SciTokens: Authorization Bypass via Path Traversal in Scope Validation
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
SciTokens is a reference library for generating and using SciTokens. Prior to version 1.9.7, the Enforcer is vulnerable to a path traversal attack where an attacker can use dot-dot (..) in the scope claim of a token to escape the intended directory restriction. This occurs because the library normalizes both the authorized path (from the token) and the requested path (from the application) before comparing them using startswith. This issue has been patched in version 1.9.7.
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.7 | 1.9.7 | Patch available | CNA |
| — | scitokens (PyPI) | before 1.9.7 | 1.9.7 | Patch available | GHSA-3x2w-63fp-3qvw |
- scitokens Vendorscitokens Affected before 1.9.7 Fixed in 1.9.7 Patch available CNA
- scitokens (PyPI) Vendor— Affected before 1.9.7 Fixed in 1.9.7 Patch available GHSA-3x2w-63fp-3qvw
Remediation
- Fix · CNA scitokens (scitokens) Fixed in 1.9.7
- Fix · GHSA-3x2w-63fp-3qvw scitokens (PyPI) Fixed in 1.9.7 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2026-32727
- 2026-10-03 Alias added: GHSA-3x2w-63fp-3qvw
References
More Scitokens Library vulnerabilities
- TI-2026-25206 SciTokens vulnerable to SQL Injection in KeyCache CVSS 3.1CRITICAL 9.8
- TI-2026-25208 SciTokens: Authorization Bypass via Incorrect Scope Path Prefix Checking CVSS 3.1HIGH 8.1
Sources
- CVE-2026-32727 · CVE Program
- CVE-2026-32727 · NVD
- FIRST EPSS
- GHSA-3x2w-63fp-3qvw · GitHub Advisory Database · CC BY 4.0
- CVE-2026-32727 · 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