{"id":"CVE-2026-32727","published":"2026-03-31T01:31:57Z","modified":"2026-04-02T14:48:02Z","title":"SciTokens: Authorization Bypass via Path Traversal in Scope Validation","vendor":"scitokens","product":"scitokens","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00536,"percentile":0.46133,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/scitokens/scitokens/security/advisories/GHSA-3x2w-63fp-3qvw","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/scitokens/scitokens/pull/230","tags":["x_refsource_MISC"]},{"url":"https://github.com/scitokens/scitokens/commit/2d1cc9e42bc944fe0bbc429b85d166e7156d53f9","tags":["x_refsource_MISC"]},{"url":"https://github.com/scitokens/scitokens/releases/tag/v1.9.7","tags":["x_refsource_MISC"]}],"priority":{"score":14.9,"factors":[{"name":"EPSS percentile","points":9.23},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"scitokens","affectedVersions":[{"vendor":"scitokens","product":"scitokens","versions":["< 1.9.7"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-04-02T14:47:31.443983Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"scitokens","vulnerableRanges":["<1.9.7"],"patched":["1.9.7"],"from":["GHSA-3x2w-63fp-3qvw","PYSEC-2026-2277"],"provenance":"source"}],"summary":{"text":"The SciTokens library, in its Enforcer component prior to version 1.9.7, fails to properly restrict path scope: the scope validation normalizes the token's authorized path and the requested path before a startswith comparison, so \"..\" sequences in a token's scope claim allow escape from the intended directory. An attacker holding a valid token (low privileges, network access, no user interaction required) can use dot-dot sequences in the scope claim to reach paths outside the restricted directory, gaining unauthorized read and write access.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:32:57Z"},"euvd":{"id":"EUVD-2026-17292","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-32714","published":"2026-03-31","fixed":"1.9.6","kev":false,"link":{"from":"CVE-2026-32714","to":"CVE-2026-32727","relation":"successor","confidence":"medium","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:scitokens","fromFixed":"1.9.6","toFixed":"1.9.7","daysApart":0},{"kind":"similar","provenance":"machine","score":0.44,"basis":"same product + description similarity"}]}},{"cve":"CVE-2026-32716","published":"2026-03-31","fixed":"1.9.6","kev":false},{"cve":"CVE-2026-32727","published":"2026-03-31","fixed":"1.9.7","kev":false}],"package":"PyPI:scitokens"}}