Description
SciTokens C++ is a minimal library for creating and using SciTokens from C or C++. Prior to version 1.4.1, scitokens-cpp is vulnerable to an authorization bypass when processing path-based scopes in tokens. The library normalizes the scope path from the token before authorization and collapses ".." path components instead of rejecting them. As a result, an attacker can use parent-directory traversal in the scope claim to broaden the effective authorization beyond the intended directory. This issue has been patched in version 1.4.1.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| scitokens | scitokens-cpp | < 1.4.1 | — |
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | scitokens-cpp | 1.4.1-1 | — |
| Debian 13 | scitokens-cpp | No fix yet | — |
| Debian 12 | scitokens-cpp | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | scitokens-cpp | No fix yet | — |
| Ubuntu 26.04 LTS | scitokens-cpp | No fix yet | — |
| Ubuntu 25.10 | scitokens-cpp | No fix yet | — |
| Ubuntu 24.04 LTS | scitokens-cpp | No fix yet | — |
| Ubuntu 22.04 LTS | scitokens-cpp | No fix yet | — |