What’s Vulnerable › Vulnerabilities
CVE-2026-32727: SciTokens: Authorization Bypass via Path Traversal in Scope Validation
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-03-31 · updated 2026-06-17
- Weakness: CWE-22
Description
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.
Affected products
- scitokens: before 1.9.7 — fixed in 1.9.7
How to fix
Upgrade to a fixed version: scitokens 1.9.7. Check the vendor advisory for mitigations.
References
- https://github.com/scitokens/scitokens/commit/2d1cc9e42bc944fe0bbc429b85d166e7156d53f9
- https://github.com/scitokens/scitokens/pull/230
- https://github.com/scitokens/scitokens/releases/tag/v1.9.7
- https://github.com/scitokens/scitokens/security/advisories/GHSA-3x2w-63fp-3qvw
Get alerted when CVE-2026-32727 or the next vulnerability affects your stack