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.
Published: 2026-07-15
Score: 7.6 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability lies in Cloudreve's OAuth token issuance, which omits the client_id claim for versions 4.12.0 to 4.16.1; as a result the token verifier fails to load token scopes into the request context and RequiredScopes treats requests as lacking any scope, allowing a low‑scope OAuth token to call APIs that require higher scopes such as file management, sharing, workflow, administrative unauthorized users. This flaw is a classic example of missing scope enforcement (CWE‑863).

Affected Systems

The affected product is Cloudreve, version 4.12.0 through 4.16.1 inclusive. The issue is fixed in version 4.16.1 and later releases; earlier versions are vulnerable.

Risk and Exploitability

The CVSS score of 7.6 indicates high severity, while the EPSS score of less than 1% suggests low exploitation probability; the vulnerability is not listed in CISA KEV. Exploitation requires possession of a legitimate OAuth token but can, indicating that attackers could elevate privileges by simply calling privileged endpoints with an improperly scoped token.

Generated by OpenCVE AI on July 31, 2026 at 03:32 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update Cloudreve to version 4.16.1 or later.
  • Invalidate existing low‑scope OAuth tokens and ensure new tokens include the client_id claim.
  • Monitor API logs for unauthorized access and enforce internal access controls if upgrade is delayed.

Generated by OpenCVE AI on July 31, 2026 at 03:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-vgj4-345g-jcf8 Cloudreve: OAuth access tokens bypass scope enforcement due to missing client_id claim
History

Wed, 15 Jul 2026 19:30:00 +0000

Type Values Removed Values Added
First Time appeared Cloudreve
Cloudreve cloudreve
Vendors & Products Cloudreve
Cloudreve cloudreve

Wed, 15 Jul 2026 15:00:00 +0000

Type Values Removed Values Added
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.
Title Cloudreve: OAuth access tokens bypass scope enforcement due to missing client_id claim
Weaknesses CWE-863
References
Metrics cvssV3_1

{'score': 7.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L'}


Subscriptions

Cloudreve Cloudreve
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-15T15:16:35.699Z

Reserved: 2026-06-15T19:04:14.457Z

Link: CVE-2026-54560

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T03:45:04Z

Weaknesses