# CVE-2026-55502: Cloudreve: OAuth Admin.Read scope can update OneDrive storage policy credentials

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 15% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-24T20:49:14.000Z
- Modified: 2026-09-08T20:51:43.490Z
- Also known as: GHSA-hq88-5x99-x3gf, GO-2026-6101
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- cloudreve cloudreve: < 4.17.0
- github.com/cloudreve/Cloudreve/v4 (Go): before 4.17.0; all versions
- github.com/cloudreve/Cloudreve/v3 (Go): up to 3.0.0-20250225100611-da4e44b77af4; all versions
- github.com/cloudreve/Cloudreve (Go): all versions

## Every score

- GitHub_M: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L`
- GitHub: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L`

## References

- <https://github.com/cloudreve/cloudreve/security/advisories/GHSA-hq88-5x99-x3gf> (exploit, advisory, web)
- <https://github.com/cloudreve/cloudreve/commit/9e9fb43e7288924cca052e5fdbb70d5365ef1ede> (web)
- <https://github.com/cloudreve/cloudreve> (package)
- <https://github.com/cloudreve/cloudreve/releases/tag/4.17.0> (web)

## Sources

- CVE List: [CVE-2026-55502](https://www.cve.org/CVERecord?id=CVE-2026-55502), CVE Terms of Use, modified 2026-07-31
- GitHub Advisory Database: [GHSA-hq88-5x99-x3gf](https://github.com/advisories/GHSA-hq88-5x99-x3gf), CC-BY-4.0, modified 2026-08-18
- Go Vulnerability Database: [GO-2026-6101](https://pkg.go.dev/vuln/GO-2026-6101), CC-BY-4.0, modified 2026-08-18
- NVD: [CVE-2026-55502](https://nvd.nist.gov/vuln/detail/CVE-2026-55502), Public domain, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-55502 · Whole record: https://cve.day/CVE-2026-55502.json · Rebuilt by cve.day 2026-11-25T22:59:30.683Z
