The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-32714

CVE-2026-32714: SciTokens Library SQLi Vulnerability

CVE-2026-32714 is a SQL injection flaw in the SciTokens reference library that allows attackers to execute arbitrary SQL commands against the local SQLite database. This article covers technical details, affected versions, and patches.

Published: April 2, 2026

CVE-2026-32714 Overview

CVE-2026-32714 is a SQL Injection vulnerability in the SciTokens reference library, a widely-used component for generating and using SciTokens in federated identity management systems. Prior to version 1.9.6, the KeyCache class 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.

Critical Impact

Attackers can execute arbitrary SQL commands against the local SQLite database, potentially leading to unauthorized data access, data manipulation, or complete database compromise.

Affected Products

  • SciTokens versions prior to 1.9.6
  • Applications and services using the SciTokens library with the vulnerable KeyCache class
  • Systems relying on SciTokens for federated identity token management

Discovery Timeline

  • 2026-03-31 - CVE-2026-32714 published to NVD
  • 2026-04-01 - Last updated in NVD database

Technical Details for CVE-2026-32714

Vulnerability Analysis

This vulnerability exists within the KeyCache class of the SciTokens library. The root cause is the improper use of Python's str.format() method to construct SQL queries dynamically. When user-controlled data such as the issuer or key_id parameters are passed directly into the format string, the resulting SQL query becomes susceptible to injection attacks.

SciTokens is a reference implementation for handling authorization tokens in scientific computing environments. The KeyCache class manages cryptographic keys used for token validation, storing them in a local SQLite database. An attacker who can control the issuer or key_id values—potentially through crafted tokens or API requests—can inject malicious SQL syntax that executes against this database.

Root Cause

The vulnerability stems from using string formatting (str.format()) instead of parameterized queries when building SQL statements. This is a classic CWE-89 (SQL Injection) pattern where untrusted input is concatenated or formatted directly into SQL query strings without proper sanitization or parameterization.

In Python applications using SQLite, the secure approach is to use parameterized queries with placeholder syntax (e.g., cursor.execute("SELECT * FROM keys WHERE issuer = ?", (issuer,))), which ensures that user input is treated as data rather than executable SQL code.

Attack Vector

The attack vector is network-based and does not require authentication or user interaction. An attacker can exploit this vulnerability by supplying specially crafted values for the issuer or key_id parameters that contain SQL injection payloads. When these values are processed by the vulnerable KeyCache class, the injected SQL is executed against the SQLite database.

Potential attack scenarios include:

  • Extracting sensitive key material from the database
  • Modifying or deleting cached cryptographic keys
  • Bypassing authentication mechanisms that rely on token validation
  • Causing denial of service by corrupting the key cache database

The vulnerability mechanism involves Python's str.format() being used to interpolate user-supplied values directly into SQL query strings. For detailed technical information about the vulnerable code pattern and the fix, refer to the GitHub Security Advisory GHSA-rh5m-2482-966c and the security patch commit.

Detection Methods for CVE-2026-32714

Indicators of Compromise

  • Unusual or malformed values in token issuer fields containing SQL syntax characters (e.g., single quotes, semicolons, UNION, SELECT)
  • Unexpected database errors or exceptions from the SciTokens KeyCache component
  • Anomalous modifications to the SciTokens SQLite database file
  • Log entries showing unusual token validation requests with suspicious parameter values

Detection Strategies

  • Monitor application logs for SQL-related errors originating from the SciTokens library
  • Implement input validation rules to detect SQL injection patterns in issuer and key_id fields
  • Deploy web application firewalls (WAF) with SQL injection detection rules for services using SciTokens
  • Use database activity monitoring to detect unauthorized SQL commands against the key cache database

Monitoring Recommendations

  • Enable verbose logging for the SciTokens library to capture token validation events
  • Configure alerting for database integrity changes to the key cache SQLite file
  • Implement anomaly detection for authentication patterns that may indicate token manipulation
  • Review audit logs for services that accept SciTokens for unusual authentication patterns

How to Mitigate CVE-2026-32714

Immediate Actions Required

  • Upgrade SciTokens to version 1.9.6 or later immediately
  • Audit existing deployments to identify all instances of the SciTokens library
  • Review application logs for potential exploitation attempts
  • Verify the integrity of SQLite databases used by the KeyCache class

Patch Information

The vulnerability has been patched in SciTokens version 1.9.6. The fix replaces the vulnerable str.format() SQL query construction with properly parameterized queries that safely handle user-supplied data. Organizations should upgrade to this version or later to remediate the vulnerability.

  • GitHub Release v1.9.6
  • Security Patch Commit
  • GitHub Security Advisory

Workarounds

  • If immediate upgrade is not possible, implement strict input validation on issuer and key_id values before they reach the SciTokens library
  • Deploy network-level controls to restrict access to services using SciTokens to trusted sources only
  • Consider temporarily disabling features that rely on the vulnerable KeyCache class until patching is complete
  • Implement application-level monitoring to detect and block SQL injection patterns in token parameters
bash
# Upgrade SciTokens to patched version
pip install --upgrade scitokens>=1.9.6

# Verify installed version
pip show scitokens | grep Version

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechScitokens

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-89
  • Technical References
  • GitHub Commit Update

  • GitHub Release v1.9.6

  • GitHub Security Advisory GHSA-rh5m-2482-966c
  • Related CVEs
  • CVE-2026-32716: SciTokens Authorization Bypass Vulnerability

  • CVE-2026-32727: SciTokens Path Traversal Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English