8.3high
SciTokens C++: Relative Path Traversal Vulnerability
- Severity
- 8.3high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.95% (higher than 62% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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
| Product or package | Versions | Reported by |
|---|---|---|
| scitokens scitokens-cpp | < 1.4.1 | CVE List |
| scitokens scitokens_cpp_library | before 1.4.1 | NVD |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
SciTokens C++ es una biblioteca mínima para crear y usar SciTokens desde C o C++. Antes de la versión 1.4.1, scitokens-cpp es vulnerable a una omisión de autorización al procesar ámbitos basados en rutas en tokens. La biblioteca normaliza la ruta del ámbito del token antes de la autorización y colapsa los componentes de ruta '..' en lugar de rechazarlos. Como resultado, un atacante puede usar el salto de directorio padre en la declaración de ámbito para ampliar la autorización efectiva más allá del directorio previsto. Este problema ha sido parcheado en la versión 1.4.1.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-32725 changed 2026-04-03 | CVE Terms of Use |
| NVD | CVE-2026-32725 changed 2026-07-24 | Public domain |