Two critical vulnerabilities have been discovered in SciTokens versions 1.8.1 and earlier: an authorization bypass due to incorrect scope path prefix checking and an SQL injection vulnerability in the KeyCache. These flaws could allow unauthorized access and arbitrary SQL command execution. Users are urged to upgrade to version 1.9.6 immediately.
Both vulnerabilities have high severity, with CVSS scores of 8.1 and 9.8, indicating significant potential for exploitation.
What is Scitokens?
CVE-2026-32716: SciTokens Authorization Bypass Vulnerability
High severity: Allows unauthorized access to protected resources.
EPSS score of 0.027 indicates a low probability of exploitation.
The `Enforcer` in SciTokens incorrectly validates scope paths by using a simple prefix match. This allows a token with access to a specific path to also access sibling paths that share the same prefix, leading to an authorization bypass.
How to fix CVE-2026-32716 in SciTokens
Patch immediately- 1.Upgrade SciTokens to version 1.9.6 or later.
pip install --upgrade scitokensVerify with:
pip show scitokensWorkaround: There are no known workarounds besides upgrading.
NextGuard automatically flags CVE-2026-32716 if SciTokens appears in any of your monitored projects — no manual lookup required.
CVE-2026-32714: SciTokens SQL Injection Vulnerability
Critical severity: Allows arbitrary SQL command execution.
EPSS score of 0.029 indicates a low probability of exploitation.
The `KeyCache` class in SciTokens is vulnerable to SQL Injection because it uses Python's `str.format()` to construct SQL queries with user-supplied data. An attacker could execute arbitrary SQL commands against the local SQLite database.
How to fix CVE-2026-32714 in SciTokens
Patch immediately- 1.Upgrade SciTokens to version 1.9.6 or later.
pip install --upgrade scitokensVerify with:
pip show scitokensWorkaround: There are no known workarounds besides upgrading.
NextGuard automatically flags CVE-2026-32714 if SciTokens appears in any of your monitored projects — no manual lookup required.
Stay ahead of Python vulnerabilities
Proactively detect and respond to security threats in your Python projects. Monitor your python dependencies with real-time alerts and comprehensive vulnerability data.
Compare PlansFrequently asked questions
These vulnerabilities pose a significant risk to applications using SciTokens. Ensure you upgrade to version 1.9.6 as soon as possible and see all python vulnerabilities for further information.
Related topics