CVE-2026-32727
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.
How to fix
- scitokens scitokens_library1.9.7 or later
- scitokens1.9.7 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| scitokens scitokens_library | v < 1.9.7 | 1.9.7 |
| scitokensPyPI | v < 1.9.7 | 1.9.7 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.