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

Source: https://junglewise.ai/threats/cve-2026-32727-scitokens-has-an-authorization-bypass-via-path-traversal-in-scope  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-03-31  
License: CC BY 4.0 with a link back

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)](https://junglewise.ai/threats/technologies/scitokens). Vendors: [PyPI](https://junglewise.ai/threats/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

  ```sh
  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

## Related threats

- [PYSEC-2026-530 - SciTokens is vulnerable to SQL Injection in KeyCache](https://junglewise.ai/threats/cve-2026-32714-scitokens-is-vulnerable-to-sql-injection-in-keycache)
- [SciTokens has an Authorization Bypass via Incorrect Scope Path Prefix Checking](https://junglewise.ai/threats/cve-2026-32716-scitokens-has-an-authorization-bypass-via-incorrect-scope-path)
