Advisory

PYSEC-2026-2276

Also known as: CVE-2026-32716, GHSA-w8fp-g9rh-34jh

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 6.5, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Dates

Published
2026-03-31 03:15 UTC
Modified
2026-07-13 07:15 UTC

Affected packages and fixes

scitokens

PyPI · All systems

Affected

  • introduced 0, fixed 1.9.6 (ecosystem)

Fixed versions

1.9.6

Fix

  • Fixed version 1.9.6
    pip install --upgrade scitokens==1.9.6

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences