UNKNOWNCVE-2026-32727

SciTokens: Authorization Bypass via Path Traversal in Scope Validation

Platform

python

Component

scitokens

Fixed in

1.9.7

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.

How to fix

Actualice la biblioteca SciTokens a la versión 1.9.7 o superior. Esta versión corrige la vulnerabilidad de path traversal en la validación del scope, impidiendo que atacantes escapen las restricciones de directorio mediante el uso de '..' en el scope del token.

Monitor your dependencies automatically

Get notified when new vulnerabilities affect your projects. Free forever.

Start free