Cloudreve: OAuth Admin.Read scope can update OneDrive storage policy credentials
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
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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| cloudreve | cloudreve | before 4.17.0 | 4.17.0 | Patch available | CNA |
| — | github.com/cloudreve/Cloudreve/v4 (Go) | before 4.17.0 | 4.17.0 | Patch available | GHSA-hq88-5x99-x3gf |
| — | github.com/cloudreve/Cloudreve/v3 (Go) | up to 3.0.0-20250225100611-da4e44b77af4 | — | No fix listed | GHSA-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
- 2026-10-02 Threatist record created from CVE-2026-55502
- 2026-10-03 Alias added: GHSA-hq88-5x99-x3gf
References
More cloudreve vulnerabilities
- 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
Sources
- CVE-2026-55502 · CVE Program
- CVE-2026-55502 · NVD
- FIRST EPSS
- GHSA-hq88-5x99-x3gf · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences