Skip to main content
← All vulnerabilities
CVE-2026-79913GO-2026-6572GHSA-JVH5-97XG-V99F

Cloudreve: SSRF guard bypass: checkIP does not decode IPv6-transition wrappers (NAT64, IPv4-compatible, 6to4) reaching internal and cloud-metadata addresses

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.18.0, 4.0.0-20260715072853-1c5cad6dec7e
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • cloudreve cloudreve

    fixed in 4.18.0

  • github.com/cloudreve/CloudreveGo

    All versions

  • github.com/cloudreve/Cloudreve/v3Go

    All versions

  • github.com/cloudreve/Cloudreve/v4Go

    fixed in 4.0.0-20260715072853-1c5cad6dec7e

References 3

GitHub · cloudreve/cloudreve