V4: Cloudreve Admin.Read OAuth tokens can trigger server-side node test requests
Affects github.com/cloudreve/Cloudreve/v4Source GCVE Database
- Patch
- Available – fixed in 4.0.0-20260626022735-332a9d800205
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:LWhat to do
AI-suggested
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The recommended remediation is to add Admin.Write scope enforcement middleware to the node test endpoints to prevent Admin.Read-only tokens from triggering server-side network requests. Additionally, applying SSRF validation or network egress controls on all admin-supplied test URLs is advised. Auditing other admin test endpoints for similar read-scoped side effects is also recommended.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Gogithub.com/cloudreve/Cloudreve/v4 | Affected
| Fixed in
|
| Gogithub.com/cloudreve/Cloudreve/v3 | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
Cloudreve v4 exposes two admin node test endpoints that require only the Admin.Read OAuth scope but allow triggering server-side network requests to attacker-controlled URLs. This enables an attacker with an Admin.Read-only OAuth token to perform blind SSRF and internal service probing, actions that should require Admin.Write scope. The issue was verified in version 4.16.1 and the latest master commit. The root cause is missing Admin.Write scope enforcement on these test endpoints, which perform outbound network requests using attacker-supplied configuration.
Weaknesses
References
- github.com/cloudreve/cloudreve/security/advisories/GHSA-v6w6-358x-2433 (opens in a new tab)
- github.com/cloudreve/cloudreve/commit/332a9d800205082a2469e555fd66a63f18d9d5dc (opens in a new tab)
- github.com/cloudreve/cloudreve (opens in a new tab)
- github.com/cloudreve/cloudreve/releases/tag/4.17.0 (opens in a new tab)