CVE-2026-32714: Vulnerability in Scitokens Library
Critical. 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.
PyPI, CWE-89
- Exploitation
- None confirmed
- Severity
- 9.8 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-rh5m-2482-966c
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-89
- Published
- 31 Mar 2026
- Last change
- 17 Jun 2026
- Ecosystem
- PyPI
Affected products
Affected versions and the first fixed release
- Scitokens Library Before 1.9.6. Fixed in 1.9.6
Affected packages
Vulnerable version ranges and fixed releases
- scitokens PyPI, Affected before 1.9.6. Fixed in 1.9.6
Advisories
Vendor and security advisories
Patches and fixes
Updates, commits and release notes
- github.com/scitokens/scitokens/commit/3dba108853f2f4a6c0f2325c03779bf083c41cf2
- github.com/scitokens/scitokens/releases/tag/v1.9.6
Related
- Scitokens Library vulnerabilities Recent advisories, watch this product