CVE-2026-55502
Description
Cloudreve is a self-hosted file management and sharing system. Prior to 4.17.0, POST /api/v4/admin/policy/oauth/signin requires only Admin.Read even though GetOauthRedirectService persists caller-supplied OneDrive secret and app_id values, allowing an OAuth token without Admin.Write to modify storage policy credentials. The route is inside the admin group that requires Admin.Read, but it does not add the local Admin.Write guard used by sibling policy mutation routes. Its handler persists attacker-supplied secret and app_id values into the selected OneDrive storage policy before returning an OAuth URL. This issue is fixed in version 4.17.0.
How to fix
- github.com/cloudreve/Cloudreve/v44.17.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| github.com/cloudreve/Cloudreve/v4Go | v < 4.17.0, No range specified | 4.17.0 |
| github.com/cloudreve/Cloudreve/v3Go | v ≤ 3.0.0-20250225100611-da4e44b77af4, No range specified | — |
| github.com/cloudreve/CloudreveGo | 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.