Path Traversal in Scitokens
CVE-2026-32727
- CVSS v3
- 8.1 High
- Public exploits
- None known
- EPSS
- 0.005 · 45.1th percentile
- Published
- 2026-03-31
What to do
- Fixed in
1.9.7- Affected
- 2 affected products
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.005, 45.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Scitokens — versions < 1.9.7
- Scitokens Library
Weakness classification (CWE)
References
- https://github.com/scitokens/scitokens/security/advisories/GHSA-3x2w-63fp-3qvw (Exploit, Vendor Advisory)
- https://github.com/scitokens/scitokens/pull/230 (Issue Tracking)
- https://github.com/scitokens/scitokens/commit/2d1cc9e42bc944fe0bbc429b85d166e7156d53f9 (Patch)
- https://github.com/scitokens/scitokens/releases/tag/v1.9.7 (Release Notes)