NetSight
high8.1

CVE-2026-32727

SciTokens has an Authorization Bypass via Path Traversal in Scope Validation

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
pipscitokens< 1.9.71.9.7

Affected products

VendorProductAffected versions
ScitokensScitokens Library
before 1.9.7

Weakness classification

References