CVE-2026-32727: SciTokens has an Authorization Bypass via Path Traversal in Scope Validation

CVE-2026-32727 · Severity: low · CVSS 3.1 · Published 2026-03-31

SciTokens is a reference library for generating and using SciTokens. Prior to version 1.9.7, the Enforcer is vulnerable to a path traversal attack where an attacker can use dot-dot (..) in the scope claim of a token to escape the intended directory restriction. This occurs because the library normalizes both the authorized path (from the token) and the requested path (from the application) before comparing them using startswith. This issue has been patched in version 1.9.7.

Technologies: scitokens (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2026-32727 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-32727 being exploited in the wild.
How severe is CVE-2026-32727?
Low severity, with a CVSS score of 3.1, published 31 March 2026.
Which products and versions are affected?
scitokens (PyPI) ECOSYSTEM:introduced=0,fixed=1.9.7.
Is there a fix for CVE-2026-32727?
Yes. scitokens (PyPI): upgrade to 1.9.7 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2026-32727?
Check whether you run scitokens (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • scitokens (PyPI): upgrade to 1.9.7 or later
    pip install "scitokens>=1.9.7"

Affected products

  • scitokens (PyPI) ECOSYSTEM:introduced=0,fixed=1.9.7

Identifiers

  • CVE-2026-32727
  • GHSA-3x2w-63fp-3qvw
  • PYSEC-2026-2277

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.