CVE-2026-54560
Cloudreve: OAuth access tokens bypass scope enforcement due to missing client_id claim
Also known as GHSA-vgj4-345g-jcf8, GO-2026-6022
Mitigation
- Upgrade github.com/cloudreve/Cloudreve/v4 to 4.0.0-20260606015557-ed20843dc3df or later.
Who should check
- Projects that depend on Go package github.com/cloudreve/Cloudreve/v4 (>= 4.0.0-20260114075425-bc6845bd742c, < 4.0.0-20260606015557-ed20843dc3df)
- Projects that depend on Go package github.com/cloudreve/Cloudreve
- Projects that depend on Go package github.com/cloudreve/Cloudreve/v3
- Anyone running cloudreve >= 4.12.0, < 4.16.1
Vulnerability facts
- Affected
- github.com/cloudreve/Cloudreve/v4 >= 4.0.0-20260114075425-bc6845bd742c, < 4.0.0-20260606015557-ed20843dc3df; github.com/cloudreve/Cloudreve; github.com/cloudreve/Cloudreve/v3
- Fixed in
- 4.0.0-20260606015557-ed20843dc3df
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 7.6 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: Low
- EPSS
- 0.58% chance of exploitation in 30 days (percentile 42, 2026-11-26)
- CWE
- CWE-863
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/cloudreve/Cloudreve/v4 | >= 4.0.0-20260114075425-bc6845bd742c, < 4.0.0-20260606015557-ed20843dc3df | 4.0.0-20260606015557-ed20843dc3df | osv |
| Go github.com/cloudreve/Cloudreve | — | — | osv |
| Go github.com/cloudreve/Cloudreve/v3 | — | — | osv |
| cloudreve | >= 4.12.0, < 4.16.1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-54560. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-54560.md Affected: github.com/cloudreve/Cloudreve/v4 >= 4.0.0-20260114075425-bc6845bd742c, < 4.0.0-20260606015557-ed20843dc3df; github.com/cloudreve/Cloudreve; github.com/cloudreve/Cloudreve/v3 Fixed in: 4.0.0-20260606015557-ed20843dc3df Steps: 1. Search this machine and project for github.com/cloudreve/Cloudreve/v4 (Go), github.com/cloudreve/Cloudreve (Go), github.com/cloudreve/Cloudreve/v3 (Go), cloudreve: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2026-54560 being exploited?
There is no confirmed exploitation: CVE-2026-54560 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.58% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-54560?
High: CVSS 7.6 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2026-54560?
github.com/cloudreve/Cloudreve/v4 >= 4.0.0-20260114075425-bc6845bd742c, < 4.0.0-20260606015557-ed20843dc3df; github.com/cloudreve/Cloudreve; github.com/cloudreve/Cloudreve/v3.
Is there a fix for CVE-2026-54560?
Yes. Fixed in 4.0.0-20260606015557-ed20843dc3df. Upgrade github.com/cloudreve/Cloudreve/v4 to 4.0.0-20260606015557-ed20843dc3df or later.
How do I check if I'm affected by CVE-2026-54560?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.