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

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.57%, higher than 48% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-31T01:31:57.392Z
- Modified: 2026-07-13T07:26:55.031Z
- Also known as: GHSA-3x2w-63fp-3qvw, PYSEC-2026-2277
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- scitokens scitokens: < 1.9.7
- scitokens (PyPI): before 1.9.7
- scitokens scitokens_library: before 1.9.7

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/scitokens/scitokens/security/advisories/GHSA-3x2w-63fp-3qvw> (exploit, evidence, vendor-advisory, web)
- <https://github.com/scitokens/scitokens/pull/230> (issue-tracking, report, web)
- <https://github.com/scitokens/scitokens/commit/2d1cc9e42bc944fe0bbc429b85d166e7156d53f9> (fix, patch, web)
- <https://github.com/scitokens/scitokens/releases/tag/v1.9.7> (advisory, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-32727> (advisory)
- <https://github.com/scitokens/scitokens> (package)

## Sources

- CVE List: [CVE-2026-32727](https://www.cve.org/CVERecord?id=CVE-2026-32727), CVE Terms of Use, modified 2026-04-02
- GitHub Advisory Database: [GHSA-3x2w-63fp-3qvw](https://github.com/advisories/GHSA-3x2w-63fp-3qvw), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-32727](https://nvd.nist.gov/vuln/detail/CVE-2026-32727), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-2277](https://osv.dev/vulnerability/PYSEC-2026-2277), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-32727 · Whole record: https://cve.day/CVE-2026-32727.json · Rebuilt by cve.day 2026-11-25T22:59:17.551Z
