Skip to content
OpenAdvisories
Low · 3.8 CVE-2026-77637 EUVD-2026-84529GHSA-w89x-c962-c44gGO-2026-6576

Cloudreve: Privilege Scope Bypass: State-Mutating Admin Operations Accessible via Read-Only OAuth Scope

Published Sep 22, 2026 · Updated Sep 22, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
cloudreve cloudreve < 4.18.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/cloudreve/Cloudreve all versions — GO-2026-6576
Go github.com/cloudreve/Cloudreve/v3 all versions — GO-2026-6576
Go github.com/cloudreve/Cloudreve/v4 < 4.0.0-20260715070110-bce08f88e9d8 4.0.0-20260715070110-bce08f88e9d8 GHSA-w89x-c962-c44g

References