Vulnerability · Published Jul 15, 2026 · Assigned by GitHub_M
CVE-2026-54560Cloudreve: OAuth access tokens bypass scope enforcement due to missing client_id claim
High 7.6
In plain English
A high-severity incorrect authorization in cloudreve from cloudreve. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 48% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Cloudreve is a self-hosted file management and sharing system. From 4.12.0 until 4.16.1, Cloudreve's OAuth access tokens are issued without the OAuth client_id claim, so the JWT verifier does not load token scopes into request context and RequiredScopes treats the request like non-scoped session authentication, allowing a low-scope OAuth access token to call APIs requiring higher scopes such as file, share, workflow, user setting, WebDAV account, and potentially admin scopes. This issue is fixed in version 4.16.1.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/cloudreve/Cloudreve | no fix listed | GO-2026-6022 |
| Go | github.com/cloudreve/Cloudreve/v3 | no fix listed | GO-2026-6022 |
| Go | github.com/cloudreve/Cloudreve/v4 | 4.0.0-20260606015557-ed20843dc3df | GHSA-vgj4-345g-jcf8 |
| Go | github.com/cloudreve/Cloudreve/v4 | 4.0.0-20260606015557-ed20843dc3df | GO-2026-6022 |
Affected products (as reported)
Weakness: CWE-863 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L