SciTokens C++ is a minimal library for creating and using SciTokens from C or C++. Prior to version 1.4.1, scitokens-cpp is vulnerable to an authorization bypass in path-based scope validation. The enforcer used a simple string-prefix comparison when checking whether a requested resource path was covered by a token's authorized scope path. Because the check did not require a path-segment boundary, a token scoped to one path could incorrectly authorize access to sibling paths that merely started with the same prefix. This issue has been patched in version 1.4.1.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32726.json",
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-863"
]
}{
"cpe": "cpe:2.3:a:scitokens:scitokens_cpp_library:*:*:*:*:*:*:*:*",
"source": [
"CPE_RANGE",
"REFERENCES"
],
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "1.4.1"
}
]
}[
{
"digest": {
"length": 1996.0,
"function_hash": "199255941784994433658960910835247042104"
},
"signature_version": "v1",
"source": "https://github.com/scitokens/scitokens-cpp/commit/decfe2f00cb9cabbf1e17a3bb2cd4ea1bbbd8a73",
"signature_type": "Function",
"target": {
"function": "scitokens::Enforcer::scope_validator",
"file": "src/scitokens_internal.cpp"
},
"id": "CVE-2026-32726-0dc5a5fe",
"deprecated": false
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"159840430630744419591112839117703905753",
"17683542669161695574058019329274764265",
"179126307303383970185612483052123876233"
]
},
"signature_version": "v1",
"source": "https://github.com/scitokens/scitokens-cpp/commit/decfe2f00cb9cabbf1e17a3bb2cd4ea1bbbd8a73",
"signature_type": "Line",
"target": {
"file": "test/main.cpp"
},
"id": "CVE-2026-32726-32fde545",
"deprecated": false
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"91588322417046594382890747530733346783",
"178361530478398450182763066002614390819",
"161061523136490460615867101335340830643",
"177456090769679396083828517545301403899",
"118320184694229658000735575202242796721",
"230763284223317003336134201537618144179",
"140839150610333632117217197288039850646",
"137095577354865888529134534202039451812",
"236360911127192520963556170656676961283",
"179688065208993355239342634598302126064",
"250728064836209624798007172860113717581"
]
},
"signature_version": "v1",
"source": "https://github.com/scitokens/scitokens-cpp/commit/decfe2f00cb9cabbf1e17a3bb2cd4ea1bbbd8a73",
"signature_type": "Line",
"target": {
"file": "src/scitokens_internal.cpp"
},
"id": "CVE-2026-32726-e4b61cfa",
"deprecated": false
}
]
"2026-07-15T15:33:05Z"
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-32726.json"