CVE-2026-55502
Cloudreve OAuth Admin.Read scope can update OneDrive storage policy credentials
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, mit einem normalen Benutzerkonto, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten oder Systeme verändert werden, geringes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| go | github.com/cloudreve/Cloudreve/v4 | < 4.0.0-20260613030954-9e9fb43e7288 | 4.17.0 |
| go | github.com/cloudreve/Cloudreve/v3 | <= 3.0.0-20250225100611-da4e44b77af4 | nicht erfasst |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/advisories/GHSA-hq88-5x99-x3gf
- https://github.com/cloudreve/cloudreve/security/advisories/GHSA-hq88-5x99-x3gf
- https://github.com/cloudreve/cloudreve/commit/9e9fb43e7288924cca052e5fdbb70d5365ef1ede
- https://github.com/cloudreve/cloudreve/releases/tag/4.17.0