Description
SciTokens is a reference library for generating and using SciTokens. Prior to version 1.9.6, the KeyCache class in scitokens was vulnerable to SQL Injection because it used Python's str.format() to construct SQL queries with user-supplied data (such as issuer and key_id). This allowed an attacker to execute arbitrary SQL commands against the local SQLite database. This issue has been patched in version 1.9.6.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| scitokens | scitokens | < 1.9.6 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-scitokens | 1.8.1-2.1 | openSUSE-SU-2026:10491-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | scitokens | < 1.9.6 | 1.9.6 | GHSA-rh5m-2482-966c |
Advisories 1
- openSUSE-SU-2026:10491-1 python311-scitokens-1.8.1-2.1 on GA media SUSE / openSUSE Security Updates · Apr 5, 2026