CVE-2026-32714 SciTokens vulnerable to SQL Injection in KeyCache

Critical 9.8 Published Updated

Attackers can execute arbitrary SQL commands against the local SQLite database via the KeyCache class in the SciTokens library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-32714?

CVE-2026-32714 is a critical SQL injection vulnerability in scitokens, published on 31 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-89

Which versions are affected by CVE-2026-32714?

3 open source packages ship an affected version, including scitokens. It affects 1 product.

PackageAffectedFixed in
scitokens PyPIAll versions1.9.6
scitokens PyPIAll versions1.9.6
scitokens PyPIAll versions1.9.6

Products include Scitokens Scitokens Library.

How do I fix CVE-2026-32714?

Upgrade scitokens to 1.9.6 or later.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2026-32714 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-32714 exists.

Sources

Also known as GHSA-rh5m-2482-966c, PYSEC-2026-530.

Is CVE-2026-32714 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free