Description
Cloudreve is a self-hosted file management and sharing system. Prior to 4.18.0, the ValidateExternalURL server-side request forgery guard in pkg/request/ssrf.go passes resolved addresses to checkIP without decoding NAT64, IPv4-compatible, and 6to4 IPv4-in-IPv6 transition forms. An authenticated user with remote-download access can provide SrcUri through RemoteDownloadTask.createDownloadTask so a wrapper embedding a loopback, private, link-local, or cloud metadata IPv4 address is classified as public and fetched, exposing internal service responses and cloud instance credentials. IPv4-mapped IPv6 addresses remain blocked because Go converts that form with net.IP.To4. This issue is fixed in version 4.18.0.
Severity (CVSS)
| Base score | 6.5 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| Provided by | CNA |
Weaknesses
- CWE-918 — CWE-918: Server-Side Request Forgery (SSRF)
- CWE-697 — CWE-697: Incorrect Comparison
Affected products
| Vendor | Product | Versions |
|---|---|---|
| cloudreve | cloudreve | < 4.18.0 |
References
- https://github.com/cloudreve/cloudreve/security/advisories/GHSA-jvh5-97xg-v99f (x_refsource_CONFIRM)
- https://github.com/cloudreve/cloudreve/commit/1c5cad6dec7ec3037c6479e3a26a3909995d16a2 (x_refsource_MISC)
- https://github.com/cloudreve/cloudreve/releases/tag/4.18.0 (x_refsource_MISC)
Generated from the official CVE List on 23 Sep 2026 07:02 UTC.