Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/cloudreve/Cloudreve/v3
  4. ›
  5. CVE-2026-55502

CVE-2026-55502: Cloudreve OAuth Admin.Read scope can update OneDrive storage policy credentials

July 24, 2026

Cloudreve 4.16.1 has an OAuth scope authorization bypass in the admin storage policy routes. An OAuth bearer token scoped to Admin.Read but not Admin.Write can call POST /api/v4/admin/policy/oauth/signin and update OneDrive 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.

References

  • github.com/advisories/GHSA-hq88-5x99-x3gf
  • github.com/cloudreve/cloudreve/commit/9e9fb43e7288924cca052e5fdbb70d5365ef1ede
  • github.com/cloudreve/cloudreve/releases/tag/4.17.0
  • github.com/cloudreve/cloudreve/security/advisories/GHSA-hq88-5x99-x3gf
  • nvd.nist.gov/vuln/detail/CVE-2026-55502

Code Behaviors & Features

Detect and mitigate CVE-2026-55502 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 3.0.0-20250225100611-da4e44b77af4

Solution

Unfortunately, there is no solution available yet.

Impact 7.1 HIGH

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

Learn more about CVSS

Weakness

  • CWE-863: Incorrect Authorization

Source file

go/github.com/cloudreve/Cloudreve/v3/CVE-2026-55502.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 12 Aug 2026 00:19:31 +0000.