Read the docs
TI-2026-40054 Aliases CVE-2026-55502GHSA-hq88-5x99-x3gf

Cloudreve: OAuth Admin.Read scope can update OneDrive storage policy credentials

Priority MEDIUM 64CWE-863Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Security bypass
Confidentiality · integrity · availability
None · High · Low
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-863.

Summary

Cloudreve is a self-hosted file management and sharing system. Prior to 4.17.0, POST /api/v4/admin/policy/oauth/signin requires only Admin.Read even though GetOauthRedirectService persists caller-supplied OneDrive secret and app_id values, allowing an OAuth token without Admin.Write to modify storage policy credentials. The route is inside the admin group that requires Admin.Read, but it does not add the local Admin.Write guard used by sibling policy mutation routes. Its handler persists attacker-supplied secret and app_id values into the selected OneDrive storage policy before returning an OAuth URL. This issue is fixed in version 4.17.0.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00338 27th percentileScored 2026-11-07
Fix Fixed cloudreve (cloudreve): 4.17.0github.com/cloudreve/Cloudreve/v4 (Go): 4.17.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
cloudrevecloudrevebefore 4.17.04.17.0Patch availableCNA
—github.com/cloudreve/Cloudreve/v4 (Go)before 4.17.04.17.0Patch availableGHSA-hq88-5x99-x3gf
—github.com/cloudreve/Cloudreve/v3 (Go)up to 3.0.0-20250225100611-da4e44b77af4—No fix listedGHSA-hq88-5x99-x3gf
  • cloudreve Vendorcloudreve Affected before 4.17.0 Fixed in 4.17.0 Patch available CNA
  • github.com/cloudreve/Cloudreve/v4 (Go) Vendor— Affected before 4.17.0 Fixed in 4.17.0 Patch available GHSA-hq88-5x99-x3gf
  • github.com/cloudreve/Cloudreve/v3 (Go) Vendor— Affected up to 3.0.0-20250225100611-da4e44b77af4 Fixed in — No fix listed GHSA-hq88-5x99-x3gf

Remediation

  • Fix · CNA cloudreve (cloudreve) Fixed in 4.17.0
  • Fix · GHSA-hq88-5x99-x3gf github.com/cloudreve/Cloudreve/v4 (Go) Fixed in 4.17.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-55502
  2. 2026-10-03 Alias added: GHSA-hq88-5x99-x3gf

References

  • TI-2026-65089 Cloudreve before 4.16.1 Authentication Bypass via Cached Context Hint CVSS 4.0MEDIUM 6.9
  • TI-2026-39397 Cloudreve: OAuth access tokens bypass scope enforcement due to missing client_id claim CVSS 3.1HIGH 7.6
  • TI-2026-39400 Incorrect authorization in cloudreve CVSS 3.1HIGH 7.1
  • TI-2026-40050 Cloudreve: Server crash through image decompression/pixel bomb in thumbnail & avatar decoding (DoS) CVSS 3.1MEDIUM 6.5
  • TI-2026-39399 Cloudreve: Non-admin remote download users can SSRF loopback/internal services and read imported responses CVSS 3.1MEDIUM 6.5
  • TI-2026-44495 Cloudreve: Unauthorized file write via WOPI view sessions whose access token secret is ignored CVSS 3.1MEDIUM 6.3
See all 16 →

Sources