CVE-2026-79913
MEDIUM 6.5CVSS 3.1Cloudreve: SSRF guard bypass: checkIP does not decode IPv6-transition wrappers (NAT64, IPv4-compatible, 6to4) reaching internal and cloud-metadata addresses
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.
- Published
- 22 Sep 2026
- Last modified
- 1 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-697CWE-918
- Also known as
- GHSA-jvh5-97xg-v99fGO-2026-6572
- Sources
- NVDJSONOSV GHSA-jvh5-97xg-v99fJSONOSV GO-2026-6572JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/cloudreve/Cloudreve/v4 | < 4.0.0-20260715072853-1c5cad6dec7e | 4.0.0-20260715072853-1c5cad6dec7e |
| OSV | Go | github.com/cloudreve/Cloudreve | all versions | |
| OSV | Go | github.com/cloudreve/Cloudreve/v3 | all versions |
References
- https://github.com/cloudreve/cloudreve/commit/1c5cad6dec7ec3037c6479e3a26a3909995d16a2 · WEB
- https://github.com/cloudreve/cloudreve/releases/tag/4.18.0 · WEB
- https://github.com/cloudreve/cloudreve/security/advisories/GHSA-jvh5-97xg-v99f · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-79913 · ADVISORY
- https://github.com/cloudreve/cloudreve · PACKAGE
History
- 25 Nov 2026 21:21 UTC · NVD: first stored (published 22 Sep 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 1 Oct 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 22 Sep 2026)