Cloudreve: Privilege Scope Bypass: State-Mutating Admin Operations Accessible via Read-Only OAuth Scope
Cloudreve is a self-hosted file management and sharing system. Prior to 4.18.0, tool.GET("wopi") and tool.POST("mail") in routers/router.go inherit ScopeAdminRead but omit the RequiredScopes(types.ScopeAdminWrite) middleware applied to neighboring state-changing admin tool routes. An OAuth application or API key limited to Admin.Read can therefore probe configured WOPI service endpoints and send arbitrary test email through the server SMTP configuration, exceeding the token's intended read-only authorization boundary. This issue is fixed in version 4.18.0.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-77637
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 06:12 UTC · Revision 1
Source evidence
Cloudreve: Privilege Scope Bypass: State-Mutating Admin Operations Accessible via Read-Only OAuth Scope
core-osv · Original sourcePublished 22 Sept 2026, 15:30 UTC
Cloudreve is a self-hosted file management and sharing system. Prior to 4.18.0, tool.GET("wopi") and tool.POST("mail") in routers/router.go inherit ScopeAdminRead but omit the RequiredScopes(types.ScopeAdminWrite) middleware applied to neighboring state-changing admin tool routes. An OAuth application or API key limited to Admin.Read can therefore probe configured WOPI service endpoints and send arbitrary test email through the server SMTP configuration, exceeding the token's intended read-only authorization boundary. This issue is fixed in version 4.18.0.
osv:CVE-2026-77637
Complete source record
{
"id": "9c64153603f6deeccd3630d3d67e86071c5d55717749c27f94d72aad506e6f33",
"url": "https://osv.dev/vulnerability/CVE-2026-77637",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Cloudreve: Privilege Scope Bypass: State-Mutating Admin Operations Accessible via Read-Only OAuth Scope",
"summary": "Cloudreve is a self-hosted file management and sharing system. Prior to 4.18.0, tool.GET(\"wopi\") and tool.POST(\"mail\") in routers/router.go inherit ScopeAdminRead but omit the RequiredScopes(types.ScopeAdminWrite) middleware applied to neighboring state-changing admin tool routes. An OAuth application or API key limited to Admin.Read can therefore probe configured WOPI service endpoints and send arbitrary test email through the server SMTP configuration, exceeding the token's intended read-only authorization boundary. This issue is fixed in version 4.18.0.",
"evidence": "osv:CVE-2026-77637",
"products": [],
"severity": "low",
"structured": {
"id": "CVE-2026-77637",
"aliases": [
"CVE-2026-77637",
"GHSA-w89x-c962-c44g",
"GO-2026-6576"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/cloudreve/cloudreve",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "0bb0ab833571d380153edd3529e01a7957b8b4ce"
},
{
"fixed": "bce08f88e9d8f881e78fd18e7a6598b31922c492"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "4.18.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "bce08f88e9d8f881e78fd18e7a6598b31922c492"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "0bb0ab833571d380153edd3529e01a7957b8b4ce"
}
],
"source": "REFERENCES_TAG",
"original_tag": "4.18.0"
}
]
}
}
],
"versions": [
"4.17.0",
"4.16.1",
"4.16.0",
"4.15.0",
"4.14.1",
"4.14.0",
"4.13.0",
"4.12.1",
"4.12.0",
"4.11.1",
"4.11.0",
"4.10.1",
"4.10.0",
"4.9.2",
"4.9.1",
"4.9.0",
"4.8.0",
"4.7.0",
"4.6.0",
"4.5.1",
"4.5.0",
"4.4.1",
"4.4.0",
"4.3.0",
"4.2.0",
"4.1.3",
"4.1.2",
"4.1.1",
"4.1.0",
"4.0.0",
"4.0.0-beta.14",
"4.0.0-beta.13",
"4.0.0-beta.12",
"4.0.0-beta.11",
"4.0.0-beta.10",
"4.0.0-beta.9",
"4.0.0-beta.8",
"4.0.0-beta.7",
"4.0.0-beta.6",
"3.8.3",
"3.8.2",
"3.8.1",
"3.8.0",
"3.8.0-beta1",
"3.7.1",
"3.7.0",
"3.6.2",
"3.6.1",
"3.6.0",
"3.6.0-beta1",
"3.5.3",
"3.5.2",
"3.5.1",
"3.5.0",
"3.5.0-beta.3",
"3.5.0-beta2",
"3.5.0-beta1",
"3.4.2",
"3.4.1",
"3.4.0",
"3.4.0-beta1",
"3.3.2",
"3.3.1",
"3.3.0",
"3.2.1",
"3.2.0",
"3.1.1",
"3.1.0",
"3.0.0",
"3.0.0-rc1",
"3.0.0-beta3",
"3.0.0-beta2",
"3.0.0-beta1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-77637.json"
}
}
],
"modified": "2026-10-28T02:30:26.453642587Z",
"provider": "osv",
"references": [
"https://github.com/cloudreve/cloudreve/releases/tag/4.18.0",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77637.json",
"https://github.com/cloudreve/cloudreve/security/advisories/GHSA-w89x-c962-c44g",
"https://nvd.nist.gov/vuln/detail/CVE-2026-77637",
"https://github.com/cloudreve/cloudreve/commit/bce08f88e9d8f881e78fd18e7a6598b31922c492"
],
"provider_metadata": {
"cwe_ids": [
"CWE-862"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77637.json"
}
},
"related_cves": [
{
"value": "CVE-2026-77637",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 492957,
"published_at": "2026-09-22T15:30:59.216+00:00"
}