Skip to content
OpenAdvisories
High · 7.1 CVE-2026-55502 EUVD-2026-51394GHSA-hq88-5x99-x3gfGO-2026-6101

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

Published Jul 31, 2026 · Updated Jul 31, 2026 · 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.

Affected products

VendorProductAffectedFixed
cloudreve cloudreve < 4.17.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES for SAP 16.0 govulncheck-vulndb 0.0.20260827T195228-160000.1.1 SUSE-SU-2026:23625-1
SLES 16.0 govulncheck-vulndb 0.0.20260827T195228-160000.1.1 SUSE-SU-2026:23625-1
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260827T195228-160000.1.1 openSUSE-SU-2026:21761-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/cloudreve/Cloudreve all versions — GO-2026-6101
Go github.com/cloudreve/Cloudreve/v3 <= 3.0.0-20250225100611-da4e44b77af4 — GHSA-hq88-5x99-x3gf
Go github.com/cloudreve/Cloudreve/v3 all versions — GO-2026-6101
Go github.com/cloudreve/Cloudreve/v4 < 4.17.0 4.17.0 GHSA-hq88-5x99-x3gf
Go github.com/cloudreve/Cloudreve/v4 all versions — GO-2026-6101

Advisories 2

References