Skip to content
OpenAdvisories
Critical · 9.8 CVE-2026-32714 EUVD-2026-17293GHSA-rh5m-2482-966cPYSEC-2026-530

SciTokens vulnerable to SQL Injection in KeyCache

Published Mar 31, 2026 · Updated Mar 31, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-scitokens 1.8.1-2.1 openSUSE-SU-2026:10491-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI scitokens < 1.9.6 1.9.6 GHSA-rh5m-2482-966c

Advisories 1

References