CVE-2026-55502 PUBLISHED

Cloudreve: OAuth Admin.Read scope can update OneDrive storage policy credentials

Assigner: GitHub_M
Reserved: 16.06.2026 Published: 31.07.2026 Updated: 31.07.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
CVSS Score: 7.1

Product Status

Vendor cloudreve
Product cloudreve
Versions
  • Version < 4.17.0 is affected

References

Problem Types

  • CWE-863: Incorrect Authorization CWE