Skip to main content
← All vulnerabilities
CVE-2026-77637GO-2026-6576GHSA-W89X-C962-C44G

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.18.0, 4.0.0-20260715070110-bce08f88e9d8
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • cloudreve cloudreve

    fixed in 4.18.0

  • github.com/cloudreve/CloudreveGo

    All versions

  • github.com/cloudreve/Cloudreve/v3Go

    All versions

  • github.com/cloudreve/Cloudreve/v4Go

    fixed in 4.0.0-20260715070110-bce08f88e9d8

References 3

GitHub · cloudreve/cloudreve