Home / cloudreve / cloudreve / CVE-2026-25726
CVE-2026-25726: is it exploited, and which versions of cloudreve are affected and fixed?
CVE-2026-25726 is a weak random number generator vulnerability in cloudreve. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:39 UTC). Affected: github.com/cloudreve/Cloudreve/v4 before 4.0.0-20260205113604-ec9fdd33bc54 (GitHub advisory GHSA-f8xp-wvcx-p6f4). Fixed in 4.0.0-20260205113604-ec9fdd33bc54 (GitHub advisory GHSA-f8xp-wvcx-p6f4). Severity: High (8.1, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:39 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:12 UTC.
What is CVE-2026-25726?
Cloudreve is vulnerable to Account Takeover via Weak Cryptographic Token Generation (Insecure PRNG Seeding)
Cloudreve is a self-hosted file management and sharing system. Prior to version 4.13.0, the application uses the weak pseudo-random number generator math/rand seeded with time.Now().UnixNano() to generate critical security secrets, including the secret_key, and hash_id_salt. These secrets are generated upon first startup and persisted in the database. An attacker can exploit this by obtaining the administrator's account creation time (via public API endpoints) to narrow the search window for the PRNG seed, and use known hashid to validate the seed. By brute-forcing the seed (demonstrated to take <3 hours on general consumer PC), an attacker can predict the secret_key. This allows them to forge valid JSON Web Tokens (JWTs) for any user, including administrators, leading to full account takeover and privilege escalation. This issue has been patched in version 4.13.0.
From the CVE record by GitHub_M, last updated April 4, 2026, 03:21 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| cloudreve | cloudreve | < 4.13.0 |
As the CVE record by GitHub_M states it, last updated April 4, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/cloudreve/Cloudreve/v4 | < 4.0.0-20260205113604-ec9fdd33bc54 | 4.0.0-20260205113604-ec9fdd33bc54 | GHSA-f8xp-wvcx-p6f4 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated April 6, 2026. Summary: Cloudreve is vulnerable to Account Takeover via Weak Cryptographic Token Generation (Insecure PRNG Seeding).
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| cloudreve | cloudreve | before 4.13.0 | application |
NVD analysis (status Analyzed), last modified July 24, 2026, 22:10 UTC.
How severe is CVE-2026-25726?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | GitHub_M |
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-25726 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, April 4, 2026)
- EPSS
- 0.43% probability of exploitation activity in the next 30 days, percentile 38.9 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
Where are the vendor advisories and references?
- https://github.com/cloudreve/cloudreve/security/advisories/GHSA-f8xp-wvcx-p6f4 x_refsource_CONFIRM
- https://github.com/cloudreve/cloudreve/releases/tag/4.13.0 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- February 5, 2026
- Published
- April 3, 2026, 20:06 UTC
- CVE record updated
- April 4, 2026, 03:21 UTC by GitHub_M
- NVD
- Analyzed, last modified July 24, 2026, 22:10 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:12 UTC; KEV December 3, 2026, 17:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect cloudreve?
- Sep 27, 2026CVE-2026-101056 cloudreve: incorrect authorization
- Sep 27, 2026CVE-2026-101051 cloudreve: path traversal (reading or writing files outside the intended folder)
- Sep 27, 2026CVE-2026-101048 cloudreve: incorrect authorization
- Sep 22, 2026CVE-2026-77637 cloudreve: missing authorization
- Sep 22, 2026CVE-2026-77633 cloudreve: race condition
- Sep 22, 2026CVE-2026-79913 cloudreve: server-side request forgery (SSRF)
- Jul 31, 2026CVE-2026-62323 cloudreve: incorrect authorization
- Jul 31, 2026CVE-2026-55502 cloudreve: incorrect authorization
Questions about CVE-2026-25726
Is CVE-2026-25726 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:39 UTC. FIRST's EPSS gives it a 0.43% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of cloudreve are affected by CVE-2026-25726?
github.com/cloudreve/Cloudreve/v4 before 4.0.0-20260205113604-ec9fdd33bc54, per the GitHub advisory GHSA-f8xp-wvcx-p6f4. The tables above give every range the sources list.
Which version fixes CVE-2026-25726?
4.0.0-20260205113604-ec9fdd33bc54, per the GitHub advisory GHSA-f8xp-wvcx-p6f4. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-25726?
High (8.1, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-25726?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.