VDB
KO
MEDIUM 6.5

PYSEC-2026-2276

Details

SciTokens is a reference library for generating and using SciTokens. Prior to version 1.9.6, the Enforcer incorrectly validates scope paths by using a simple prefix match (startswith). This allows a token with access to a specific path (e.g., /john) to also access sibling paths that start with the same prefix (e.g., /johnathan, /johnny), which is an Authorization Bypass. This issue has been patched in version 1.9.6.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI / scitokens
Introduced in: 0 Fixed in: 1.9.6
Fix pip install --upgrade 'scitokens>=1.9.6'

References