Skip to content
OpenAdvisories
High · 8.1 CVE-2026-32727 EUVD-2026-17292GHSA-3x2w-63fp-3qvwPYSEC-2026-2277

SciTokens: Authorization Bypass via Path Traversal in Scope Validation

Published Mar 31, 2026 · Updated Apr 2, 2026 · Assigned by GitHub_M

Description

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 products

VendorProductAffectedFixed
scitokens scitokens < 1.9.7 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-scitokens 1.8.1-2.1 openSUSE-SU-2026:10491-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI scitokens < 1.9.7 1.9.7 GHSA-3x2w-63fp-3qvw

Advisories 1

References