Path Traversal in Scitokens
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.
Vulnerability class: Path Traversal (Directory Traversal)
EPSS: 0.005 (40.9th percentile) — read the EPSS interpretation.
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.
Affected products
- Scitokens — versions < 1.9.7
- Scitokens Scitokens_library
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Exploit, Vendor Advisory)
- security-advisories@github.com (x_refsource_MISC, Issue Tracking)
- security-advisories@github.com (Patch, x_refsource_MISC)
- security-advisories@github.com (x_refsource_MISC, Release Notes)
Frequently asked questions
- What is CVE-2026-32727?
- CVE-2026-32727 is a high-severity vulnerability in Scitokens, classified under Path Traversal. CVSS score: 8.1/10. Published 2026-03-31.
- How severe is CVE-2026-32727?
- High severity. CVSS v3 base score is 8.1 out of 10.