High severityNVD Advisory· Published Jul 31, 2026· Updated Jul 31, 2026
Cloudreve: OAuth Admin.Read scope can update OneDrive storage policy credentials
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/cloudreve/Cloudreve/v4Go | < 4.17.0 | 4.17.0 |
github.com/cloudreve/Cloudreve/v3Go | <= 3.0.0-20250225100611-da4e44b77af4 | — |
Affected products
1Patches
Vulnerability mechanics
References
4News mentions
0No linked articles in our index yet.