Vulnerability · Published Mar 31, 2026 · Assigned by GitHub_M
CVE-2026-32716SciTokens: Authorization Bypass via Incorrect Scope Path Prefix Checking
High 8.1
In plain English
A high-severity security flaw in scitokens from scitokens. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 34% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
SciTokens is a reference library for generating and using SciTokens. Prior to version 1.9.6, the Enforcer incorrectly validates scope paths by using a simple prefix match (startswith). This allows a token with access to a specific path (e.g., /john) to also access sibling paths that start with the same prefix (e.g., /johnathan, /johnny), which is an Authorization Bypass. This issue has been patched in version 1.9.6.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | scitokens | 1.9.6 | GHSA-w8fp-g9rh-34jh |
| PyPI | scitokens | 1.9.6 | PYSEC-2026-2276 |
Affected products (as reported)
Weakness: CWE-285 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N