CVE-2026-77637
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.
How to fix
- github.com/cloudreve/Cloudreve/v44.0.0-20260715070110-bce08f88e9d8 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| github.com/cloudreve/Cloudreve/v4Go | v < 4.0.0-20260715070110-bce08f88e9d8 | 4.0.0-20260715070110-bce08f88e9d8 |
| github.com/cloudreve/CloudreveGo | No range specified | — |
| github.com/cloudreve/Cloudreve/v3Go | No range specified | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.