Description
Cloudreve is a self-hosted file management and sharing system. Prior to 4.18.0, tool.GET("wopi") and tool.POST("mail") in routers/router.go inherit ScopeAdminRead but omit the RequiredScopes(types.ScopeAdminWrite) middleware applied to neighboring state-changing admin tool routes. An OAuth application or API key limited to Admin.Read can therefore probe configured WOPI service endpoints and send arbitrary test email through the server SMTP configuration, exceeding the token's intended read-only authorization boundary. This issue is fixed in version 4.18.0.
Published: 2026-09-22
Score: 3.8 Low
EPSS: < 1% Very Low
KEV: No
Impact: Unauthorized state change via read-only OAuth scope
Action: Apply patch
AI Analysis

Impact

Cloudreve versions prior to 4.18.0 allowed OAuth tokens with the Admin.Read scope to access endpoints normally protected for Admin.Write. The routes tool.GET("wopi") and tool.POST("mail") inherited ScopeAdminRead but omitted the RequiredScopes(types.ScopeAdminWrite) middleware, meaning an attacker could trigger state‑changing operations such as sending arbitrary test emails through the server’s SMTP configuration without exceeding the intended read‑only boundary. This privilege escalation is an instance of improper authorization and is catalogued as CWE-862.

Affected Systems

The affected product is Cloudreve, community‑hosted file management and sharing software. All releases before 4.18.0 are vulnerable; the issue was fixed in version 4.18.0 and later versions are not affected.

Risk and Exploitability

The CVSS score of 3.8 indicates a low severity vulnerability. The EPSS score is not available, and the vulnerability is not listed in CISA KEV, indicating no publicly known exploitation data at this time. The likely attack vector involves an OAuth application or API key granted the Admin.Read scope, which can be used to send arbitrary emails through the service’s SMTP configuration. While this does not grant full remote code execution, it allows abuse of the mail system and potential phishing or spam campaigns, representing a moderate risk for affected deployments.

Generated by OpenCVE AI on September 22, 2026 at 17:04 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Cloudreve to version 4.18.0 or later
  • Configure OAuth applications to use only the scopes they truly need, avoiding Admin.Read when Admin.Write or similar state‑changing endpoints are accessible
  • Review SMTP logs for abnormal usage and consider disabling or securing the mail sending feature if not required

Generated by OpenCVE AI on September 22, 2026 at 17:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-w89x-c962-c44g Cloudreve: Privilege Scope Bypass: State-Mutating Admin Operations Accessible via Read-Only OAuth Scope
History

Tue, 22 Sep 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 22 Sep 2026 16:45:00 +0000

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

Tue, 22 Sep 2026 15:45:00 +0000

Type Values Removed Values Added
Description Cloudreve is a self-hosted file management and sharing system. Prior to 4.18.0, tool.GET("wopi") and tool.POST("mail") in routers/router.go inherit ScopeAdminRead but omit the RequiredScopes(types.ScopeAdminWrite) middleware applied to neighboring state-changing admin tool routes. An OAuth application or API key limited to Admin.Read can therefore probe configured WOPI service endpoints and send arbitrary test email through the server SMTP configuration, exceeding the token's intended read-only authorization boundary. This issue is fixed in version 4.18.0.
Title Cloudreve: Privilege Scope Bypass: State-Mutating Admin Operations Accessible via Read-Only OAuth Scope
Weaknesses CWE-862
References
Metrics cvssV3_1

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


Subscriptions

Cloudreve Cloudreve
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-22T17:43:54.828Z

Reserved: 2026-08-20T20:52:01.928Z

Link: CVE-2026-77637

cve-icon Vulnrichment

Updated: 2026-09-22T17:33:08.871Z

cve-icon NVD

Status : Deferred

Published: 2026-09-22T16:17:55.990

Modified: 2026-09-22T18:17:19.553

Link: CVE-2026-77637

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-22T17:15:15Z

Weaknesses