Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft SciToken with path traversal in scope claim
-
DeliverySubmit token to vulnerable scitokens-cpp library
-
ExploitLibrary normalizes and collapses '..' components
-
ExecutionAccess granted beyond intended directory
-
ImpactRead sensitive files or modify protected resources
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Relative path traversal prevention
|
| Exploitation Conditions | Authenticated attacker with low-privilege access to an application using scitokens-cpp versions prior to 1.4.1. Attacker crafts a SciToken with path-based scopes containing ".." components to bypass directory authorization checks and access files outside intended scope. |
| Impact | This represents a significant real-world risk despite no confirmed active exploitation. The CVSS vector indicates network-based exploitation (AV:N) with low complexity (AC:L) requiring only low-level authentication (PR:L), making it accessible to any user with valid credentials. The impact spans confidentiality and integrity (C:H/I:H) with low availability impact (A:L), typical of authorization bypass vulnerabilities. The attack is highly automatable once an attacker holds any valid token, as crafting traversal payloads is trivial. In SSVC terms: exploitation is proof-of-concept quality (the fix commit demonstrates the vulnerable code path), automatable (yes - simple string manipulation), and has significant technical impact (allows unauthorized data access/modification in scientific computing infrastructures). The primary risk mitigation is that exploitation requires pre-existing authentication (PR:L), limiting the attack surface to authenticated users or compromised credentials. Without EPSS data, we assess moderate-to-high priority based on ease of exploitation and the sensitive nature of scientific computing environments where data integrity is critical. Organizations using scitokens-cpp for authorization in multi-tenant or federated computing environments should prioritize this patch. |
| Exploit ScenarioDerived | An authenticated user in a scientific computing grid holds a valid SciToken scoped to access data in '/shared/project_a/public/'. The attacker crafts a modified token (or requests one through legitimate API channels if token generation accepts user input) with a scope claim containing '/shared/project_a/public/../../../sensitive_data/'. When the scitokens-cpp library validates this token for a data access request, it normalizes the path to '/sensitive_data/' and incorrectly grants authorization, allowing the attacker to read or modify files outside their intended scope. This bypasses organizational access controls in federated computing environments where different institutions or projects share infrastructure but require isolation. The attack requires low complexity as the attacker only needs valid credentials and knowledge of the target file system structure. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 31, 2026
Authorization bypass in scitokens-cpp library (all versions prior to 1.4.1) allows authenticated attackers to escape path-based scope restrictions via parent-directory traversal in token scope claims. The library incorrectly normalizes '..' components instead of rejecting them, enabling privilege escalation to access resources outside intended directories. EPSS data not provided, but the vulnerability is network-exploitable with low attack complexity (CVSS 8.3). No confirmed active exploitation (CISA KEV) or public exploit code identified at time of analysis, though the fix commit is publicly documented.
RemediationAI
Upgrade to scitokens-cpp version 1.4.1 or later, which addresses the path traversal vulnerability by properly rejecting parent-directory components in scope claims rather than normalizing them. The fix is documented in commit 7951ed809967d88c00c20de414b1ff74df8c3e08 available at https://github.com/scitokens/scitokens-cpp/commit/7951ed809967d88c00c20de414b1ff74df8c3e08. Organizations should inventory all systems using the scitokens-cpp library, prioritizing externally-accessible services and multi-tenant environments. As a temporary workaround pending upgrade, implement additional path validation at the application layer to reject tokens containing '..' sequences in scope claims, though this is defense-in-depth only and does not replace patching. Review audit logs for tokens with suspicious path patterns in scope claims to identify potential exploitation attempts. Consult the official GitHub security advisory at https://github.com/scitokens/scitokens-cpp/security/advisories/GHSA-rqcx-mc9w-pjxp for additional vendor guidance.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
SciTokens is an authorization token framework used in scientific computing environments for fine-grained access control, particularly in distributed high-performance computing and data grid systems. The scitokens-cpp library (CPE: cpe:2.3:a:scitokens:scitokens-cpp) implements token validation and scope enforcement in C++. The vulnerability stems from CWE-23 (Relative Path Traversal) in the scope authorization logic. When validating path-based scope claims within tokens, the library performs path normalization that collapses parent-directory sequences ('..') rather than treating them as invalid input. This allows an attacker to craft a token with a scope like '/allowed/path/../../sensitive/' which normalizes to '/sensitive/', bypassing the intended '/allowed/path/' restriction. The flaw exists in the authorization check phase after token signature validation, meaning legitimate token holders can escalate their privileges beyond their assigned scope boundaries.
Know when Scitokens gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
3DescriptionCVE.org
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.
Executive ViewAI
The scitokens-cpp library (versions prior to 1.4.1) contains an authorization bypass vulnerability that allows authenticated users to escalate privileges and access files and resources outside their intended scope through directory traversal manipulation. Organizations using scitokens-cpp in authentication or access control systems face risk of unauthorized data access and privilege escalation if the library is not updated immediately.
Apply vendor patch. If immediate patching is not feasible, implement file system access controls and monitoring to restrict authenticated users to their designated directories, disable parent-directory traversal at the application or reverse proxy layer, and enforce additional authentication checks for access to sensitive resource paths until scitokens-cpp is updated to version 1.4.1.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
SQL injection in SciTokens Python library allows unauthenticated remote code execution against the local SQLite database
Path traversal in SciTokens library (all versions before 1.9.7) allows authenticated attackers to bypass directory acces
Authorization bypass in SciTokens C++ library (versions prior to 1.4.1) allows authenticated attackers to access unautho
Authorization bypass in SciTokens library (versions prior to 1.9.6) allows authenticated users with valid tokens scoped
EUVD-2026-17561
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB