Cloudreve before 4.17.0 SSRF via Admin.Read OAuth scope
What fixes it
- 4.17.0cloudreveCVE List
- 4.0.0-20260626022735-332a9d800205github.com/cloudreve/Cloudreve/v4, GoOSV
go get github.com/cloudreve/Cloudreve/v4@v4.0.0-20260626022735-332a9d800205
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
Cloudreve before 4.17.0 registers the administrative node test endpoints (POST /api/v4/admin/node/test and POST /api/v4/admin/node/test/downloader) without requiring the Admin.Write OAuth scope, unlike the node create/update/delete routes. An OAuth client that has been authorized by an administrator with only the Admin.Read scope can therefore submit attacker-controlled node definitions and cause the Cloudreve server to issue outbound requests to arbitrary URLs, enabling blind server-side request forgery, internal service probing, and delivery of signed Cloudreve slave-style requests to attacker-chosen endpoints.
Text from CVE List
Affected versions 4
- cloudreveaffected: all versions before 4.17.0CVE List
- cloudreveunaffected: 4.17.0CVE List
- github.com/cloudreve/Cloudreve/v4, Gofrom first release, fixed in 4.0.0-20260626022735-332a9d800205OSV
- github.com/cloudreve/Cloudreve/v3, Gofrom first release, through 3.0.0-20250225100611-da4e44b77af4OSV