Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-scope OAuth access token
-
DeliverySend request to higher-scope API endpoint
-
Exploitclient_id absent so scopes not loaded
-
ExecutionRequiredScopes degrades to session auth
-
ImpactRead 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L
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).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Concurrent upload-session requests in Cloudreve prior to 4.18.0 allow an authenticated user holding Files.Write permissi
Cloudreve versions v1.0.0 through v3.5.3 are vulnerable to Stored Cross-Site Scripting (XSS), via the file upload functi
Path traversal via improper authorization in Cloudreve's WebDAV handler lets a scoped WebDAV account escape its configur
Revoked, expired, or download-limit-exhausted Cloudreve shares can still be mined for signed file URLs for up to 300 sec
Server-side request forgery in Cloudreve prior to 4.18.0 allows an authenticated user with remote-download privileges to
Server-Side Request Forgery in Cloudreve's remote download workflow (versions prior to 4.16.1) enables authenticated use
Cloudreve before 4.17.0 applies only the Admin.Read OAuth scope to the admin node test endpoints (POST /api/v4/admin/nod
Cloudreve instances running versions prior to 4.18.0 fail to enforce write-scope authorization on two admin tool routes,
Path traversal in Cloudreve before 4.16.1 lets an authenticated user write downloaded files outside the destination dire
Same weakness CWE-863 – Incorrect Authorization
View allSame technique Authentication Bypass
View allVendor 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 |
| openSUSE Leap 15.6 | Affected |
EUVD-2026-44689
GHSA-vgj4-345g-jcf8
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB