CVE-2026-32727

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:scitokens:scitokens_library:*:*:*:*:*:*:*:*

History

03 Apr 2026, 17:26

Type Values Removed Values Added
CPE cpe:2.3:a:scitokens:scitokens_library:*:*:*:*:*:*:*:*
References () https://github.com/scitokens/scitokens/commit/2d1cc9e42bc944fe0bbc429b85d166e7156d53f9 - () https://github.com/scitokens/scitokens/commit/2d1cc9e42bc944fe0bbc429b85d166e7156d53f9 - Patch
References () https://github.com/scitokens/scitokens/pull/230 - () https://github.com/scitokens/scitokens/pull/230 - Issue Tracking
References () https://github.com/scitokens/scitokens/releases/tag/v1.9.7 - () https://github.com/scitokens/scitokens/releases/tag/v1.9.7 - Release Notes
References () https://github.com/scitokens/scitokens/security/advisories/GHSA-3x2w-63fp-3qvw - () https://github.com/scitokens/scitokens/security/advisories/GHSA-3x2w-63fp-3qvw - Exploit, Vendor Advisory
First Time Scitokens
Scitokens scitokens Library

01 Apr 2026, 14:24

Type Values Removed Values Added
Summary
  • (es) SciTokens es una biblioteca de referencia para generar y usar SciTokens. Antes de la versión 1.9.7, el Enforcer es vulnerable a un ataque de salto de ruta donde un atacante puede usar punto-punto (..) en la declaración de alcance de un token para evadir la restricción de directorio prevista. Esto ocurre porque la biblioteca normaliza tanto la ruta autorizada (del token) como la ruta solicitada (de la aplicación) antes de compararlas usando startswith. Este problema ha sido parcheado en la versión 1.9.7.

31 Mar 2026, 03:15

Type Values Removed Values Added
New CVE

Information

Published : 2026-03-31 03:15

Updated : 2026-04-03 17:26


NVD link : CVE-2026-32727

Mitre link : CVE-2026-32727

CVE.ORG link : CVE-2026-32727


JSON object : View

Products Affected

scitokens

  • scitokens_library
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')