CVE-2026-79913
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.
How to fix
- github.com/cloudreve/Cloudreve/v44.0.0-20260715072853-1c5cad6dec7e or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| github.com/cloudreve/Cloudreve/v4Go | v < 4.0.0-20260715072853-1c5cad6dec7e | 4.0.0-20260715072853-1c5cad6dec7e |
| github.com/cloudreve/CloudreveGo | No range specified | — |
| github.com/cloudreve/Cloudreve/v3Go | No range specified | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.