Live threats

All CVEs / Scitokens

CVE-2026-32727Scitokens Library

Medium 6.5

Priority
39
CVSS 3.1
6.5
EPSS
—
Auth required
Yes
Published
Mar 31, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Scitokens Library.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI scitokens < 1.9.7 1.9.7 pip install "scitokens>=1.9.7"
PyPI scitokens < 1.9.7 1.9.7 pip install "scitokens>=1.9.7"

Per OSV / GitHub Advisories (GHSA-3x2w-63fp-3qvw, PYSEC-2026-2277). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
scitokensscitokens_library< 1.9.7

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.