Cloudreve
Cloudreve: OAuth access tokens bypass scope enforcement due to missing client_id claim
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.6high · scored by CNA · CWE-863
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
cloudreve cloudreve
- >= 4.12.0, < 4.16.1
Fixed in 4.16.1
Mitigation
Upgrade cloudreve to 4.16.1 or later.
References
- Vendor advisory github.com/cloudreve/cloudreve/security/adviso…
- Patch github.com/cloudreve/cloudreve/commit/ed20843d…
- Release notes github.com/cloudreve/cloudreve/releases/tag/4.…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.