CVE-2026-79913

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

Published Sep 22, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Cloudreve, a self‑hosted file management system, includes a server‑side request forgery guard that validates external URLs. The guard passes resolved addresses to a checkIP function without decoding IPv6‑transition forms such as NAT64, IPv4‑compatible, and 6to4. An authenticated user with remote‑download permissions can supply a SrcUri that embeds an IPv4 address within an IPv6 transition wrapper. Because the wrapper is not decoded, the guard incorrectly classifies the address as public, allowing Cloudreve to fetch responses from internal or cloud‑metadata endpoints. This can expose internal service data and credentials stored in instance metadata.

Affected Systems

All Cloudreve deployments running a version earlier than 4.18.0 are affected. The issue is fixed in release 4.18.0 and later. The vendor is Cloudreve (cloudreve:cloudreve).

Risk and Exploitability

The CVSS score is 6.5, indicating a moderate risk. No EPSS score is available, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires an authenticated user with remote‑download access; therefore the attacker must first obtain valid credentials. Based on the description, it is inferred that exploitation is limited to authenticated users. Once authenticated, an attacker can craft a URL that bypasses the SSRF guard, leading to internal service exposure and potential credential leakage. Network segmentation and internal IP filtering can mitigate the impact if patching is delayed.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Cloudreve 4.18.0 or later to apply the SSRF guard fix.
  • If immediate upgrade is not possible, disable or restrict the RemoteDownloadTask feature to prevent authenticated users from requesting arbitrary URLs.
  • Add network‑level or application‑level filters to block accesses to internal IP ranges (127.0.0.1/8, ::1, 169.254.0.0/16, 10.0.0.0/8) from Cloudreve's processing logic.

Generated by OpenCVE AI on September 22, 2026 at 16:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-jvh5-97xg-v99f Cloudreve: SSRF guard bypass: checkIP does not decode IPv6-transition wrappers (NAT64, IPv4-compatible, 6to4) reaching internal and cloud-metadata addresses
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Cloudreve
Cloudreve cloudreve
Vendors & Products Cloudreve
Cloudreve cloudreve
Type Values Removed Values Added
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.
Title Cloudreve: SSRF guard bypass: checkIP does not decode IPv6-transition wrappers (NAT64, IPv4-compatible, 6to4) reaching internal and cloud-metadata addresses
Weaknesses CWE-697
CWE-918
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

Weaknesses
  • CWE-697

    Incorrect Comparison

  • CWE-918

    Server-Side Request Forgery (SSRF)

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 22, 2026, 5:44 PM
Reserved
Aug 25, 2026, 2:59 PM
Status
Deferred
Published
Sep 22, 2026, 4:17 PM
Modified
Sep 22, 2026, 6:17 PM