{"id":"CVE-2026-55502","published":"2026-07-31T03:35:59Z","modified":"2026-07-31T11:09:00Z","title":"Cloudreve: OAuth Admin.Read scope can update OneDrive storage policy credentials","vendor":"cloudreve","product":"cloudreve","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00338,"percentile":0.2798,"provenance":"source"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://github.com/cloudreve/cloudreve/security/advisories/GHSA-hq88-5x99-x3gf","tags":["x_refsource_CONFIRM"]}],"priority":{"score":10.6,"factors":[{"name":"EPSS percentile","points":5.6},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"cloudreve","affectedVersions":[{"vendor":"cloudreve","product":"cloudreve","versions":["< 4.17.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-31T11:08:45.272468Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/cloudreve/Cloudreve/v4","vulnerableRanges":["<4.17.0","all versions"],"patched":["4.17.0"],"from":["GHSA-hq88-5x99-x3gf","GO-2026-6101"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/cloudreve/Cloudreve/v3","vulnerableRanges":["<=3.0.0-20250225100611-da4e44b77af4","all versions"],"patched":[],"from":["GHSA-hq88-5x99-x3gf","GO-2026-6101"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/cloudreve/Cloudreve","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-6101"],"provenance":"source"}],"summary":{"text":"Cloudreve, a self-hosted file management and sharing system, prior to 4.17.0 has an authorization flaw in its admin storage policy OAuth sign-in endpoint (POST /api/v4/admin/policy/oauth/signin), which requires only the Admin.Read scope even though it persists caller-supplied OneDrive secret and app_id values into the storage policy. An attacker holding an OAuth token that has Admin.Read but not Admin.Write, over network access and with low privileges, can modify the OneDrive storage policy credentials.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:00:00Z"},"euvd":{"id":"EUVD-2026-51394","exploited":false,"provenance":"source"}}