Skip to main content

Cloudreve CVE-2026-54560

| EUVDEUVD-2026-44689 HIGH
Incorrect Authorization (CWE-863)
2026-07-15 GitHub_M GHSA-vgj4-345g-jcf8
7.6
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain low-scope OAuth access token
  2. Delivery
    Send request to higher-scope API endpoint
  3. Exploit
    client_id absent so scopes not loaded
  4. Execution
    RequiredScopes degrades to session auth
  5. Impact
    Read or modify files, shares, and settings

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the attacker to possess a validly issued Cloudreve OAuth access token (any low scope suffices) from an affected instance running 4.12.0-4.16.0; the vulnerability is inherent to how those versions issue tokens without the client_id claim, so no special server configuration beyond having OAuth token issuance in use is needed. Limiting factors: the attacker must first legitimately obtain an OAuth token (PR:L authenticated precondition), the target must run an affected version prior to 4.16.1, and the abuse is confined to that instance's own API scope model (S:U, no cross-system impact). The practical ceiling on impact is whatever scopes the higher-privileged endpoints expose - file, share, workflow, user setting, WebDAV account, and potentially admin.

Impact

The provided CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L, score 7.6) aligns with a network-reachable, low-effort authorization flaw requiring an authenticated actor (PR:L) who already possesses a validly issued low-scope OAuth token. The UI:R metric in the supplied vector is questionable - token replay against higher-scope endpoints requires no victim interaction once the attacker holds a token - so realistic exploitation may be somewhat easier than the score implies (see assessed vector). No EPSS score, KEV listing, POC, or SSVC decision data was provided; there is no evidence of active exploitation. This is a genuine authorization-boundary failure with high confidentiality and integrity impact, but the real-world risk is bounded by the prerequisite of obtaining a legitimate OAuth token from the target instance, making it more relevant to multi-tenant or delegated-access deployments than to internet-wide opportunistic attack. Priority is moderate-to-high for organizations running affected versions with OAuth integrations enabled.

Exploit ScenarioDerived

An attacker who is granted (or obtains) a Cloudreve OAuth access token scoped only for a minimal permission, such as read-only or a single narrow scope, replays that token against API endpoints that should require higher scopes - for example file, share, workflow, or user-setting operations - and the server honors the request because scope enforcement silently degrades to full session-level authorization. No public exploit is identified at time of analysis, but the flaw requires only crafting authenticated API calls (AC:L) over the network with a low-privilege token.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 15, 2026

Privilege escalation via OAuth scope enforcement bypass affects Cloudreve self-hosted file management versions 4.12.0 through 4.16.0, where access tokens are issued without the client_id claim. Because the JWT verifier keys scope loading on client_id, a holder of a legitimately-issued low-scope OAuth access token can invoke APIs requiring higher scopes - file, share, workflow, user setting, WebDAV account, and potentially admin - as the enforcement layer degrades to non-scoped session authentication. No public exploit identified at time of analysis, but the root cause is confirmed by the vendor's fix commit and advisory GHSA-vgj4-345g-jcf8, with the issue resolved in 4.16.1.

RemediationAI

Vendor-released patch: 4.16.1 - upgrade all affected Cloudreve instances (4.12.0 through 4.16.0) to 4.16.1 or later, which adds the missing ClientID claim so scopes are correctly loaded and enforced (fix commit ed20843dc3df20a25fcaf6b538647e11c4d68d87). Until you can upgrade, the most direct compensating control is to revoke all currently issued OAuth access tokens and refrain from issuing new OAuth tokens, since every token minted by an affected version lacks the client_id claim and will bypass scope enforcement; if OAuth-delegated access is not required, disable OAuth client access entirely to eliminate the low-privilege token path - the trade-off is loss of any third-party/delegated integrations relying on scoped tokens. Additionally restrict network exposure of the API to trusted clients where feasible. Reference the advisory at https://github.com/cloudreve/cloudreve/security/advisories/GHSA-vgj4-345g-jcf8 and release notes at https://github.com/cloudreve/cloudreve/releases/tag/4.16.1.

Affected VersionsENISA

Cloudreve 4.12.0, < 4.16.1

Affected Packages

go github.com/cloudreve/cloudreve no fix
go github.com/cloudreve/cloudreve/v3 no fix
go github.com/cloudreve/cloudreve/v4 fix: 4.0.0-20260606015557-ed20843dc3df
euvd cloudreve_4_12_0 fix: 4.16.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 4 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Cloudreve is a Go-based self-hosted file management and sharing platform using JWT-based authentication (pkg/auth/jwt.go). OAuth access tokens are minted as JWTs whose scopes are meant to constrain which API groups the bearer may call, enforced by a RequiredScopes middleware. The defect is a CWE-863 Incorrect Authorization: the token issuance path populated the JWT with Scopes but omitted the ClientID claim. On verification, the presence of a client_id is what signals the request as a scoped OAuth token and triggers loading of the token's scopes into request context; without it, the verifier never populates scopes and RequiredScopes treats the caller as an ordinary (fully-privileged) interactive session rather than a scope-limited OAuth client, effectively ignoring the scope ceiling. The one-line fix (adding ClientID: args.ClientID alongside Scopes in Issue()) restores the linkage so scopes are correctly loaded and enforced.

Know when Cloudreve gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 7.6 HIGH
AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L
vuln.today AI 8.3 HIGH

Attacker needs a validly issued low-scope OAuth token (PR:L) and replays it over the network with no victim interaction (UI:N), gaining high-scope read/write within the same app (C:H/I:H, S:U).

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N
SUSE HIGH

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
Low

Lifecycle Timeline

2
Patch available
Jul 15, 2026 - 17:48 EUVD
CVE Published
Jul 15, 2026 - 14:40 cve.org
HIGH 7.6

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Cloudreve versions 4.12.0-4.16.0 allow attackers with low-privilege OAuth credentials to gain unauthorized access to sensitive file management operations, data sharing controls, and potentially administrative functions. No public exploit identified at time of analysis. Organizations using affected versions face immediate risk of data breach and unauthorized sharing; immediate patching is required.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 84% exploitable
Prevalence
Low
niche self-hosted open-source file-sharing app, limited enterprise footprint
Threat Intel
1
1 source
Data Quality
4 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Server 16.1 Affected
SUSE Linux Enterprise Server for SAP applications 16.1 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP5 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP6 Affected
openSUSE Leap 15.5 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy