scitokens-cpp — security advisory
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.
- Products
- scitokens-cpp
- Affected versions
- 0.5.1-2, 0.6.2-1, 0.6.2-1ubuntu1, 0.6.2-2, 0.7.0-1, 0.7.0-2, 1.0.2-1, 1.1.0-1, 1.1.0-1.1, 1.1.0-1.1build2, 1.1.0-1.1build3, 1.1.3-1, 1.2.0-1, 1.3.0-1, 1.3.0-2, 1.4.1-1, 1.4.1-3
- Fixed versions
- Not specified
- CVEs
- CVE-2026-32726
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 02:59 UTC · Revision 1
Source evidence
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:UBUNTU-CVE-2026-32726
scitokens-cpp
Fixed versions: Not specified
scitokens-cpp
Fixed versions: Not specified
scitokens-cpp
Fixed versions: Not specified
scitokens-cpp
Fixed versions: Not specified
scitokens-cpp
Fixed versions: Not specified
Complete source record
{
"id": "8611a54bafd292c5842213bf0d960b54e62aa5a42f386008947a9d57b908dd0e",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-32726",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-32726",
"summary": "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.",
"evidence": "osv:UBUNTU-CVE-2026-32726",
"products": [
{
"name": {
"value": "scitokens-cpp",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.5.1-2",
"evidence": "/affected/0/versions"
},
{
"value": "0.6.2-1",
"evidence": "/affected/0/versions"
},
{
"value": "0.6.2-1ubuntu1",
"evidence": "/affected/0/versions"
},
{
"value": "0.6.2-2",
"evidence": "/affected/0/versions"
},
{
"value": "0.7.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "0.7.0-2",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "scitokens-cpp",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.0.2-1",
"evidence": "/affected/1/versions"
},
{
"value": "1.1.0-1",
"evidence": "/affected/1/versions"
},
{
"value": "1.1.0-1.1",
"evidence": "/affected/1/versions"
},
{
"value": "1.1.0-1.1build2",
"evidence": "/affected/1/versions"
},
{
"value": "1.1.0-1.1build3",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "scitokens-cpp",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.1.3-1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "scitokens-cpp",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.3.0-2",
"evidence": "/affected/3/versions"
},
{
"value": "1.4.1-1",
"evidence": "/affected/3/versions"
},
{
"value": "1.4.1-3",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "scitokens-cpp",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.1.3-1",
"evidence": "/affected/4/versions"
},
{
"value": "1.2.0-1",
"evidence": "/affected/4/versions"
},
{
"value": "1.3.0-1",
"evidence": "/affected/4/versions"
},
{
"value": "1.3.0-2",
"evidence": "/affected/4/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2026-32726",
"aliases": [
"UBUNTU-CVE-2026-32726"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "scitokens-cpp",
"purl": "pkg:deb/ubuntu/scitokens-cpp?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"0.5.1-2",
"0.6.2-1",
"0.6.2-1ubuntu1",
"0.6.2-2",
"0.7.0-1",
"0.7.0-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32726.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libscitokens0",
"binary_version": "0.7.0-2"
},
{
"binary_name": "scitokens-cpp",
"binary_version": "0.7.0-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "scitokens-cpp",
"purl": "pkg:deb/ubuntu/scitokens-cpp?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"1.0.2-1",
"1.1.0-1",
"1.1.0-1.1",
"1.1.0-1.1build2",
"1.1.0-1.1build3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32726.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libscitokens0t64",
"binary_version": "1.1.0-1.1build3"
},
{
"binary_name": "scitokens-cpp",
"binary_version": "1.1.0-1.1build3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "scitokens-cpp",
"purl": "pkg:deb/ubuntu/scitokens-cpp?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"1.1.3-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32726.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libscitokens0t64",
"binary_version": "1.1.3-1"
},
{
"binary_name": "scitokens-cpp",
"binary_version": "1.1.3-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "scitokens-cpp",
"purl": "pkg:deb/ubuntu/scitokens-cpp?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"1.3.0-2",
"1.4.1-1",
"1.4.1-3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32726.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libscitokens0t64",
"binary_version": "1.4.1-3"
},
{
"binary_name": "scitokens-cpp",
"binary_version": "1.4.1-3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "scitokens-cpp",
"purl": "pkg:deb/ubuntu/scitokens-cpp?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"1.1.3-1",
"1.2.0-1",
"1.3.0-1",
"1.3.0-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-32726.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libscitokens0t64",
"binary_version": "1.3.0-2"
},
{
"binary_name": "scitokens-cpp",
"binary_version": "1.3.0-2"
}
]
}
}
],
"modified": "2026-10-17T12:59:58.594039359Z",
"provider": "osv",
"upstream": [
"CVE-2026-32726"
],
"references": [
"https://ubuntu.com/security/CVE-2026-32726",
"https://www.cve.org/CVERecord?id=CVE-2026-32726",
"https://github.com/scitokens/scitokens-cpp/commit/decfe2f00cb9cabbf1e17a3bb2cd4ea1bbbd8a73",
"https://github.com/scitokens/scitokens-cpp/security/advisories/GHSA-q5fm-fgvx-32jq"
]
},
"related_cves": [
{
"value": "CVE-2026-32726",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 360054,
"published_at": "2026-03-31T18:16:00+00:00"
}