CVE-2026-32727Scitokens Library
Medium 6.5
Follow: this CVE · Scitokens · Scitokens Library We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Scitokens Library.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| scitokens | scitokens_library | < 1.9.7 |
Official advisories
- python311-scitokens-1.8.1-2.1 on GA media · SUSE · openSUSE-SU-2026:10491-1 · Apr 4, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Issue Tracking
- github.com Release Notes
- github.com Exploit Vendor Advisory