CVE-2026-54560

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

Published Jul 15, 2026 CVSS 3.1 · 7.6 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Cloudreve
Cloudreve cloudreve
Vendors & Products Cloudreve
Cloudreve cloudreve
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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 15, 2026, 3:16 PM
Reserved
Jun 15, 2026, 7:04 PM
Status
Deferred
Published
Jul 15, 2026, 3:16 PM
Modified
Jul 15, 2026, 6:15 PM