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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| scitokens | scitokens | < 1.9.7 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-scitokens | 1.8.1-2.1 | openSUSE-SU-2026:10491-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | scitokens | < 1.9.7 | 1.9.7 | GHSA-3x2w-63fp-3qvw |
Advisories 1
- openSUSE-SU-2026:10491-1 python311-scitokens-1.8.1-2.1 on GA media SUSE / openSUSE Security Updates · Apr 5, 2026