Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft SciToken with dot-dot sequences in scope claim
-
ExploitSubmit token to Enforcer for validation
-
ExecutionPath normalization fails to restrict directory traversal
-
ImpactAccess files outside intended directory
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires authenticated access to an application using SciTokens library versions prior to 1.9.7. Attacker must possess a valid SciToken and inject dot-dot (..) sequences in the scope claim to bypass path restrictions during token validation. No user interaction needed. |
| Impact | Real-world risk is significant for organizations using SciTokens in production environments, particularly scientific computing grids, data federations, and research infrastructures relying on token-based authorization. The CVSS score of 8.1 reflects high confidentiality and integrity impact with network-based attack vector (AV:N), low attack complexity (AC:L), and requirement for low-privilege authentication (PR:L). The attack is not user-interaction dependent (UI:N) and does not affect availability (A:N). While no CISA KEV entry confirms active exploitation in enterprise environments, the public GitHub security advisory (GHSA-3x2w-63fp-3qvw) and accompanying pull request (#230) provide detailed technical context that could enable proof-of-concept development. The vulnerability is highly automatable once an attacker obtains valid credentials, as token manipulation is straightforward. Using SSVC decision framework: exploitation status is public (POC-level technical details available), technical impact is partial (confidentiality and integrity breach without availability impact), and automatable is yes (token crafting can be scripted). This combination elevates priority despite absence of confirmed exploitation. Organizations using SciTokens for access control to sensitive research data, experimental results, or regulated datasets should treat this as urgent, particularly if authentication barriers are low or tokens are widely distributed. |
| Exploit ScenarioDerived | An authenticated researcher with legitimate access to a shared scientific computing grid obtains a valid SciToken with authorized scope 'read:/data/experiment1'. The attacker crafts a modified token by manipulating the scope claim to 'read:/data/experiment1/../../confidential' and presents it to a service using the vulnerable SciTokens library for enforcement. Due to the path normalization flaw, the Enforcer's startswith comparison validates the token as legitimate, allowing the attacker to traverse directories and access confidential research data, proprietary algorithms, or regulated datasets belonging to other projects outside their authorization boundary. Publicly available exploit code exists through the GitHub advisory and referenced commit, making exploitation straightforward for attackers with basic token manipulation skills. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 31, 2026
Path traversal in SciTokens library (all versions before 1.9.7) allows authenticated attackers to bypass directory access restrictions and access unauthorized files. Attackers can inject dot-dot-slash sequences (..) into JWT scope claims to escape intended authorization boundaries due to improper path normalization during enforcement checks. CVSS 8.1 (High) with network attack vector and low complexity. EPSS data not available; no confirmed active exploitation (CISA KEV) identified at time of analysis, though publicly available exploit code exists via GitHub advisory and commit references.
RemediationAI
Upgrade to SciTokens version 1.9.7 or later immediately, as confirmed by the vendor release announcement at https://github.com/scitokens/scitokens/releases/tag/v1.9.7. The patch in commit 2d1cc9e42bc944fe0bbc429b85d166e7156d53f9 (available at https://github.com/scitokens/scitokens/commit/2d1cc9e42bc944fe0bbc429b85d166e7156d53f9) implements proper path validation that prevents traversal sequences from bypassing directory restrictions. Organizations should audit all deployments using SciTokens for authorization, prioritizing internet-facing services and those protecting sensitive data. Review issued tokens for suspicious scope claims containing dot-dot sequences as potential indicators of exploitation attempts. If immediate upgrade is not feasible, implement additional input validation at the application layer to reject tokens with non-normalized paths or traversal sequences in scope claims, though this workaround is inferior to applying the vendor patch. Consult the GitHub security advisory at https://github.com/scitokens/scitokens/security/advisories/GHSA-3x2w-63fp-3qvw and pull request #230 at https://github.com/scitokens/scitokens/pull/230 for additional technical context.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
SciTokens is a token-based authorization library commonly used in scientific computing and distributed data systems for fine-grained access control to files and resources. The Enforcer component validates JWT tokens containing scope claims that specify authorized paths (e.g., 'read:/data/project1'). The vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory) arises from the library's path comparison logic: both the authorized path extracted from the token's scope claim and the application-requested path undergo normalization before a simple 'startswith' comparison. An attacker with valid credentials (PR:L in CVSS vector) can craft a token with scope claims containing path traversal sequences like 'read:/data/project1/../../sensitive' which, after normalization, can match or bypass the intended directory prefix check, granting access to files outside the authorized scope. The affected product is identified as cpe:2.3:a:scitokens:scitokens:*:*:*:*:*:*:*:* covering all versions prior to the patched release.
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:N
Primary rating from GitHub Advisory.
CVSS VectorGitHub Advisory
Lifecycle Timeline
2DescriptionGitHub Advisory
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.
Blast Radius
ecosystem impact- 214 pypi packages depend on scitokens (8 direct, 209 indirect)
Ecosystem-wide dependent count for version 1.9.7.
Executive ViewAI
SciTokens library versions before 1.9.7 contain a path traversal vulnerability that allows authenticated users to bypass access controls and read unauthorized files through manipulation of JWT scope claims. This affects any application using SciTokens for authorization enforcement, potentially exposing sensitive data to internal users with valid credentials.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Implement strict input validation on JWT scope claims to reject or sanitize dot-dot-slash sequences (..) before path processing; (2) Apply principle of least privilege to service accounts and limit file system permissions for processes running SciTokens; (3) Monitor access logs for suspicious scope claim patterns or repeated path traversal attempts; (4) Consider isolating affected systems until patch is available.
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.
Related Vulnerabilities in SciTokens Library Vulnerabilities
View all 3Authorization bypass in scitokens-cpp library (all versions prior to 1.4.1) allows authenticated attackers to escape pat
Authorization bypass in SciTokens C++ library (versions prior to 1.4.1) allows authenticated attackers to access unautho
EUVD-2026-17292
GHSA-3x2w-63fp-3qvw
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB