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 when processing path-based scopes in tokens. The library normalizes the scope path from the token before authorization and collapses ".." path components instead of rejecting them. As a result, an attacker can use parent-directory traversal in the scope claim to broaden the effective authorization beyond the intended directory. 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-32725.json",
"cwe_ids": [
"CWE-23"
],
"cna_assigner": "GitHub_M"
}{
"cpe": "cpe:2.3:a:scitokens:scitokens_cpp_library:*:*:*:*:*:*:*:*",
"source": [
"CPE_RANGE",
"REFERENCES"
],
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "1.4.1"
}
]
}
[
{
"id": "CVE-2026-32725-16813168",
"target": {
"function": "scitokens::Enforcer::scope_validator",
"file": "src/scitokens_internal.cpp"
},
"deprecated": false,
"digest": {
"function_hash": "114373754308404994386487506083326982335",
"length": 1961.0
},
"signature_version": "v1",
"source": "https://github.com/scitokens/scitokens-cpp/commit/7951ed809967d88c00c20de414b1ff74df8c3e08",
"signature_type": "Function"
},
{
"id": "CVE-2026-32725-6d89271c",
"target": {
"file": "src/scitokens_internal.cpp"
},
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"287380959812084164866198263980111908944",
"125305705647164214597094911311009461852",
"47834424582843579889526340777241291166",
"90825064717826589204887566121236740240",
"244419171305235120484112210993575192501",
"53535272776844004058058137994433939254",
"338887205321118828573314793477526868446",
"267685471469062729337917053404013544171",
"7223480695584261335320850106564769635",
"73639859831779728519655974170866361187",
"331938783273713778430129325239461320827",
"9173043784232848639909615837382931456",
"265961603437822894320619417896334385726",
"191801885600154290790839151999701357115",
"6696842953503876800146082481653522168",
"271142712065282462817583389660095598482",
"147509157642943216596049050638048767315",
"56977922654007903344845882373206944238",
"141590355391451579121415695504388568849",
"27910058349441269004604065367096837277",
"308211188440469518023752437835598163127",
"101959876960327385993759654702256778021",
"181029955074579559509242083301972303551",
"168809173563883832126329846286823848247",
"104558846724609165065198697661051723299",
"40408618947713847836970581578786280598",
"62052748072749066613227931236333892686",
"130580896055094365179281698859615783298",
"233862073546409500201135229367082879077",
"304135058610660299043956982101812837046",
"252604093066019614078677797973923488078",
"8004679280101568436248289617421772375",
"320908077028609814069030573452956359064",
"2840374984355414358269149593647494190",
"268534507115766307195870513231234597031",
"190789545784742455541952304350660604004",
"45835481886593324551265984120394737971",
"296993931303692723268801504691333464120",
"333263373355096770734442635924414142725"
]
},
"signature_version": "v1",
"source": "https://github.com/scitokens/scitokens-cpp/commit/7951ed809967d88c00c20de414b1ff74df8c3e08",
"signature_type": "Line"
},
{
"id": "CVE-2026-32725-718e6106",
"target": {
"file": "test/main.cpp"
},
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"70675864853198927462867307192072441711",
"300959398191096246495785325624423110428",
"179126307303383970185612483052123876233"
]
},
"signature_version": "v1",
"source": "https://github.com/scitokens/scitokens-cpp/commit/7951ed809967d88c00c20de414b1ff74df8c3e08",
"signature_type": "Line"
},
{
"id": "CVE-2026-32725-92a82f57",
"target": {
"function": "normalize_absolute_path",
"file": "src/scitokens_internal.cpp"
},
"deprecated": false,
"digest": {
"function_hash": "306235316994512207497844610584114447907",
"length": 950.0
},
"signature_version": "v1",
"source": "https://github.com/scitokens/scitokens-cpp/commit/7951ed809967d88c00c20de414b1ff74df8c3e08",
"signature_type": "Function"
}
]
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-32725.json"
"2026-08-12T15:32:26Z"