{"id":"CVE-2026-32714","published":"2026-03-31T01:31:31Z","modified":"2026-03-31T13:58:33Z","title":"SciTokens vulnerable to SQL Injection in KeyCache","vendor":"scitokens","product":"scitokens","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00606,"percentile":0.43116,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/scitokens/scitokens/security/advisories/GHSA-rh5m-2482-966c","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/scitokens/scitokens/commit/3dba108853f2f4a6c0f2325c03779bf083c41cf2","tags":["x_refsource_MISC"]},{"url":"https://github.com/scitokens/scitokens/releases/tag/v1.9.6","tags":["x_refsource_MISC"]}],"priority":{"score":15.5,"factors":[{"name":"EPSS percentile","points":8.62},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"scitokens","affectedVersions":[{"vendor":"scitokens","product":"scitokens","versions":["< 1.9.6"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-03-31T13:58:30.467209Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"scitokens","vulnerableRanges":["<1.9.6"],"patched":["1.9.6"],"from":["GHSA-rh5m-2482-966c","PYSEC-2026-530"],"provenance":"source"}],"summary":{"text":"The SQL injection flaw lies in the KeyCache class of the scitokens library, a reference implementation for generating and using SciTokens, where user-supplied values such as issuer and key_id are inserted into SQL queries via Python's str.format(). An attacker able to supply that input can execute arbitrary SQL commands against the local SQLite database, with no authentication or user interaction required and the flaw reachable over the network.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:21:09Z"},"euvd":{"id":"EUVD-2026-17293","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-32714","published":"2026-03-31","fixed":"1.9.6","kev":false},{"cve":"CVE-2026-32716","published":"2026-03-31","fixed":"1.9.6","kev":false},{"cve":"CVE-2026-32727","published":"2026-03-31","fixed":"1.9.7","kev":false,"link":{"from":"CVE-2026-32714","to":"CVE-2026-32727","relation":"successor","confidence":"medium","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:scitokens","fromFixed":"1.9.6","toFixed":"1.9.7","daysApart":0},{"kind":"similar","provenance":"machine","score":0.44,"basis":"same product + description similarity"}]}}],"package":"PyPI:scitokens"}}