Vulnerability in github.com/cloudreve/Cloudreve/v4
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2026-79913 has been found in github.com/cloudreve/Cloudreve/v4.
Attackers can target a specific entry point like ValidateExternalURL over the network to misuse the product.
Confidential information can be exposed externally. CVSS score: 6.5/10.
What to do: upgrade github.com/cloudreve/Cloudreve/v4 to 4.0.0-20260715072853-1c5cad6dec7e or later.
If unsure, ask your IT team or search "github.com/cloudreve/Cloudreve/v4 CVE-2026-79913" on the vendor's site.
CVE-2026-79913 (github.com/cloudreve/Cloudreve/v4) — CWE-697 / CVSS v3 6.5
Attack vector: remote (network-reachable) / no user interaction
Attack surface: ValidateExternalURL / checkIP / net.IP / IsLoopback
Patched: 4.0.0-20260715072853-1c5cad6dec7e — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (CWE-697) exists in github.com/cloudreve/Cloudreve/v4. Attackers reach the vulnerable code path via ValidateExternalURL.
Check the vendor advisory for the affected versions of github.com/cloudreve/Cloudreve/v4. Attack surface: ValidateExternalURL / checkIP / net.IP / IsLoopback.
Severity: Medium (CVSS 6.5/10). Confidential information can be exposed externally.
Update to 4.0.0-20260715072853-1c5cad6dec7e.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'github.com/cloudreve/Cloudreve/v4' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'github.com/cloudreve/Cloudreve/v4' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
github.com/cloudreve/Cloudreve/v4を grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply patchpatch
Upgrade github.com/cloudreve/Cloudreve/v4 to 4.0.0-20260715072853-1c5cad6dec7eステージング環境で 4.0.0-20260715072853-1c5cad6dec7e に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| gogithub.com/cloudreve/Cloudreve/v4 |
< 4.0.0-20260715072853-1c5cad6dec7e→ 4.0.0-20260715072853-1c5cad6dec7e |
4.0.0-20260715072853-1c5cad6dec7e |
| Gogithub.com/cloudreve/Cloudreve |
All versions→ Not listed |
Not listed |
| Gogithub.com/cloudreve/Cloudreve/v3 |
All versions→ Not listed |
Not listed |
Original description The description as published by the source.
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.
Source: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- web github.com
- web github.com