High severityNVD Advisory· Published Jul 15, 2026· Updated Jul 15, 2026
Cloudreve: OAuth access tokens bypass scope enforcement due to missing client_id claim
CVE-2026-54560
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
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/cloudreve/Cloudreve/v4Go | >= 4.0.0-20260114075425-bc6845bd742c, < 4.0.0-20260606015557-ed20843dc3df | 4.0.0-20260606015557-ed20843dc3df |
Affected products
1Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-vgj4-345g-jcf8ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-54560ghsaADVISORY
- github.com/cloudreve/cloudreve/commit/ed20843dc3df20a25fcaf6b538647e11c4d68d87ghsax_refsource_MISCWEB
- github.com/cloudreve/cloudreve/releases/tag/4.16.1ghsax_refsource_MISCWEB
- github.com/cloudreve/cloudreve/security/advisories/GHSA-vgj4-345g-jcf8ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.