Skip to content
OpenAdvisories
High · 7.6 CVE-2026-54560 EUVD-2026-44689GHSA-vgj4-345g-jcf8GO-2026-6022

Cloudreve: OAuth access tokens bypass scope enforcement due to missing client_id claim

Published Jul 15, 2026 · Updated Jul 15, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
cloudreve cloudreve >= 4.12.0, < 4.16.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/cloudreve/Cloudreve all versions — GO-2026-6022
Go github.com/cloudreve/Cloudreve/v3 all versions — GO-2026-6022
Go github.com/cloudreve/Cloudreve/v4 >= 4.0.0-20260114075425-bc6845bd742c, < 4.0.0-20260606015557-ed20843dc3df 4.0.0-20260606015557-ed20843dc3df GHSA-vgj4-345g-jcf8

Advisories 1

References