Skip to content
Heist/ feed
Back to feed
High

SciTokens: Authorization Bypass via Incorrect Scope Path Prefix Checking

Type: advisorySources: OSV

SciTokens is a reference library for generating and using SciTokens. Prior to version 1.9.6, the Enforcer incorrectly validates scope paths by using a simple prefix match (startswith). This allows a token with access to a specific path (e.g., /john) to also access sibling paths that start with the same prefix (e.g., /johnathan, /johnny), which is an Authorization Bypass. This issue has been patched in version 1.9.6.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-32716
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 17:03 UTC · Revision 1

Source evidence

SciTokens: Authorization Bypass via Incorrect Scope Path Prefix Checking

core-osv · Original source

Published 31 Mar 2026, 01:31 UTC

SciTokens is a reference library for generating and using SciTokens. Prior to version 1.9.6, the Enforcer incorrectly validates scope paths by using a simple prefix match (startswith). This allows a token with access to a specific path (e.g., /john) to also access sibling paths that start with the same prefix (e.g., /johnathan, /johnny), which is an Authorization Bypass. This issue has been patched in version 1.9.6.

osv:CVE-2026-32716
Complete source record
{
  "id": "5cafe32520d11d4fc74d0238d52e692925b14fee11a36196e6f5707058e49e85",
  "url": "https://osv.dev/vulnerability/CVE-2026-32716",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "SciTokens: Authorization Bypass via Incorrect Scope Path Prefix Checking",
    "summary": "SciTokens is a reference library for generating and using SciTokens. Prior to version 1.9.6, the Enforcer incorrectly validates scope paths by using a simple prefix match (startswith). This allows a token with access to a specific path (e.g., /john) to also access sibling paths that start with the same prefix (e.g., /johnathan, /johnny), which is an Authorization Bypass. This issue has been patched in version 1.9.6.",
    "evidence": "osv:CVE-2026-32716",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-32716",
      "aliases": [
        "CVE-2026-32716",
        "GHSA-w8fp-g9rh-34jh",
        "PYSEC-2026-2276"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/scitokens/scitokens",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "e6d14add0114439e3706b589f6f1fb27b475aa71"
                },
                {
                  "fixed": "7a237c0f642efb9e8c36ac564b745895cca83583"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:scitokens:scitokens_library:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.9.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "7a237c0f642efb9e8c36ac564b745895cca83583"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "e6d14add0114439e3706b589f6f1fb27b475aa71"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v1.9.6"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.9.5",
            "v1.9.4",
            "v1.9.3",
            "v1.9.2",
            "v1.9.1",
            "v1.9.0",
            "v1.8.1",
            "v1.8.0",
            "v1.7.4",
            "v1.7.3",
            "v1.7.2",
            "v1.7.1",
            "v1.7.0",
            "v1.6.2",
            "v1.6.1",
            "v1.6.0",
            "v1.5.0",
            "v1.4.0",
            "v1.3.1",
            "v1.3.0",
            "v1.2.4",
            "v1.2.3",
            "v1.2.2",
            "v1.2.1",
            "v1.2.0",
            "v1.1.1",
            "v1.1.0",
            "v1.0.2",
            "v1.0.1",
            "v1.0.0",
            "v0.3.3",
            "v0.3.2",
            "v0.3.1",
            "v0.3.0",
            "v0.2.2",
            "v0.2.1",
            "v0.2.0",
            "v0.1.5",
            "v0.1.4",
            "v0.1.3",
            "v0.1.2",
            "v0.1.1",
            "v0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-32716.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:38.015336837Z",
      "provider": "osv",
      "references": [
        "https://github.com/scitokens/scitokens/releases/tag/v1.9.6",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32716.json",
        "https://github.com/scitokens/scitokens/security/advisories/GHSA-w8fp-g9rh-34jh",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-32716",
        "https://github.com/scitokens/scitokens/commit/7a237c0f642efb9e8c36ac564b745895cca83583"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-285"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32716.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-32716",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 505111,
  "published_at": "2026-03-31T01:31:44.35+00:00"
}