Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-32725: CWE-23: Relative Path Traversal in scitokens scitokens-cpp

0
High
VulnerabilityCVE-2026-32725cvecve-2026-32725cwe-23
Published: Tue Mar 31 2026 (03/31/2026, 17:01:46 UTC)
Source: CVE Database V5
Vendor/Project: scitokens
Product: scitokens-cpp

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/31/2026, 17:54:03 UTC

Technical Analysis

The vulnerability CVE-2026-32725 affects the scitokens-cpp library, a minimal C/C++ implementation used to create and validate SciTokens, which are bearer tokens designed for authorization in distributed computing environments. The core issue is a relative path traversal (CWE-23) in the processing of path-based scopes embedded within tokens. Specifically, when the library receives a token with a scope claim containing path components, it attempts to normalize the path by collapsing '..' segments rather than rejecting them outright. This normalization allows an attacker to craft a scope claim that traverses up the directory hierarchy beyond the intended scope, effectively broadening the authorization granted by the token. This results in an authorization bypass, where the attacker can access resources outside the originally intended directory scope. The vulnerability requires that the attacker have some level of privilege to present tokens for authorization but does not require user interaction. The CVSS v3.1 base score is 8.3, reflecting high severity due to the network attack vector, low attack complexity, and significant impact on confidentiality and integrity, with some impact on availability. The vulnerability was publicly disclosed on March 31, 2026, and has been patched in scitokens-cpp version 1.4.1. No known exploits have been reported in the wild to date. Organizations using scitokens-cpp for authorization in distributed or cloud environments should prioritize upgrading to the patched version to prevent potential exploitation.

Potential Impact

The primary impact of this vulnerability is unauthorized access to resources beyond the intended directory scope, leading to a breach of confidentiality and integrity. Attackers exploiting this flaw can bypass authorization controls, potentially accessing sensitive data or modifying resources they should not have permission to. This can compromise the security of distributed computing environments, scientific collaborations, or cloud services that rely on SciTokens for fine-grained access control. Although availability impact is low, the unauthorized access could lead to further exploitation or lateral movement within affected systems. Organizations worldwide that depend on scitokens-cpp for authorization are at risk of data breaches, intellectual property theft, and violation of compliance requirements if this vulnerability is exploited.

Mitigation Recommendations

To mitigate this vulnerability, organizations should immediately upgrade scitokens-cpp to version 1.4.1 or later, where the issue has been fixed by properly rejecting scope claims containing parent-directory traversal components. Additionally, implement strict input validation and sanitization on token scope claims before processing. Employ defense-in-depth by enforcing access controls at multiple layers beyond token validation, such as filesystem permissions and network segmentation. Monitor logs for anomalous token scopes or authorization attempts that include suspicious path traversal patterns. Conduct regular security audits and penetration testing focusing on token-based authorization mechanisms. Finally, educate developers and administrators about secure token handling practices and the risks of path traversal vulnerabilities.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-03-13T15:02:00.625Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69cc068ae6bfc5ba1d2beee5

Added to database: 3/31/2026, 5:38:18 PM

Last enriched: 3/31/2026, 5:54:03 PM

Last updated: 3/31/2026, 8:05:33 PM

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses