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

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.55%, higher than 47% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-31T01:31:31.708Z
- Modified: 2026-07-01T20:23:04.757Z
- Also known as: GHSA-rh5m-2482-966c, PYSEC-2026-530
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- 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.

(As written by CVE List.)

## Affected

- scitokens scitokens: < 1.9.6
- scitokens (PyPI): before 1.9.6
- scitokens scitokens_library: before 1.9.6

## Every score

- GitHub_M: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/scitokens/scitokens/security/advisories/GHSA-rh5m-2482-966c> (exploit, vendor-advisory, web)
- <https://github.com/scitokens/scitokens/commit/3dba108853f2f4a6c0f2325c03779bf083c41cf2> (patch, web)
- <https://github.com/scitokens/scitokens/releases/tag/v1.9.6> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-32714> (advisory)
- <https://github.com/scitokens/scitokens> (package)
- <https://pypi.org/project/scitokens> (package)
- <https://github.com/advisories/GHSA-rh5m-2482-966c> (advisory)

## Sources

- CVE List: [CVE-2026-32714](https://www.cve.org/CVERecord?id=CVE-2026-32714), CVE Terms of Use, modified 2026-03-31
- GitHub Advisory Database: [GHSA-rh5m-2482-966c](https://github.com/advisories/GHSA-rh5m-2482-966c), CC-BY-4.0, modified 2026-06-29
- NVD: [CVE-2026-32714](https://nvd.nist.gov/vuln/detail/CVE-2026-32714), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-530](https://osv.dev/vulnerability/PYSEC-2026-530), CC-BY-4.0, modified 2026-07-01

---

Page: https://cve.day/CVE-2026-32714 · Whole record: https://cve.day/CVE-2026-32714.json · Rebuilt by cve.day 2026-11-25T22:59:17.550Z
